home *** CD-ROM | disk | FTP | other *** search
/ Power Tools for Macintosh / Power Tools for Macintosh (SoftBit)(1992).iso / Stacks / *S-Z / TimeBook2.1s / TimeClock 2.1s < prev    next >
MacBinary  |  1993-05-23  |  99.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Sun May 23 12:51:52 1993, modified Sun May 23 12:51:52 1993, creator HyperCard, type HyperCard stack, 64384 bytes "TimeClock 2.1s" , at 0xfc00 37030 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 54 69 6d 65 43 6c | 6f 63 6b 20 32 2e 31 73 |..TimeCl|ock 2.1s|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 fb 80 00 | 00 90 a6 a8 25 5c 28 a8 |........|....%\(.|
|00000060| 25 5c 28 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |%\(.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 23 a0 00 00 |........|....#...|
|00000080| 00 00 6e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..n.STAK|........|
|00000090| 00 00 00 0a 00 00 fb 80 | 00 00 6e 00 00 00 00 00 |........|..n.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a fa 00 00 00 01 |........|........|
|000000b0| 00 00 0b c0 00 00 09 70 | 00 00 00 00 00 00 00 00 |.......p|........|
|000000c0| 00 00 0f f7 00 00 00 00 | 00 05 00 00 50 00 00 00 |........|....P...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 9c cf 33 5f 00 00 00 00 | 01 5c 01 a0 01 a4 02 60 |..3_....|.\.....`|
|00000100| 00 00 00 00 03 00 04 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 87 00 00 0c 9d | 00 48 00 c0 00 00 00 00 |........|.H......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 53 54 41 43 4b | 53 3a 20 54 69 6d 65 42 |-- STACK|S: TimeB|
|00000690| 6f 6f 6b 2c 20 54 69 6d | 65 43 6c 6f 63 6b 2c 20 |ook, Tim|eClock, |
|000006a0| 54 69 6d 65 46 69 6c 65 | 0d 2d 2d 20 56 45 52 53 |TimeFile|.-- VERS|
|000006b0| 49 4f 4e 3a 32 2e 31 0d | 2d 2d 20 a9 43 6f 70 79 |ION:2.1.|-- .Copy|
|000006c0| 72 69 67 68 74 20 31 39 | 39 33 20 52 6f 6e 61 6c |right 19|93 Ronal|
|000006d0| 64 20 4c 61 64 6f 75 63 | 65 75 72 2c 20 41 6c 6c |d Ladouc|eur, All|
|000006e0| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|000006f0| 2e 0d 0d 2d 2d 20 44 45 | 53 43 52 49 50 54 49 4f |...-- DE|SCRIPTIO|
|00000700| 4e 3a 20 54 69 6d 65 42 | 6f 6f 6b 20 2d 20 61 20 |N: TimeB|ook - a |
|00000710| 66 75 6c 6c 79 20 66 75 | 6e 63 74 69 6f 6e 61 6c |fully fu|nctional|
|00000720| 20 74 69 6d 65 20 73 68 | 65 65 74 20 61 6e 64 20 | time sh|eet and |
|00000730| 74 69 6d 65 20 74 72 61 | 63 6b 69 6e 67 20 73 79 |time tra|cking sy|
|00000740| 73 74 65 6d 2e 0d 0d 2d | 2d 20 52 45 51 55 49 52 |stem...-|- REQUIR|
|00000750| 45 4d 45 4e 54 53 3a 20 | 48 79 70 65 72 43 61 72 |EMENTS: |HyperCar|
|00000760| 64 20 32 2e 31 20 6f 72 | 20 48 79 70 65 72 43 61 |d 2.1 or| HyperCa|
|00000770| 72 64 20 50 6c 61 79 65 | 72 0d 0d 2d 2d 20 54 69 |rd Playe|r..-- Ti|
|00000780| 6d 65 42 6f 6f 6b 20 75 | 73 65 73 20 58 46 43 4e |meBook u|ses XFCN|
|00000790| 73 20 63 72 65 61 74 65 | 64 20 69 6e 20 43 6f 6d |s create|d in Com|
|000007a0| 70 69 6c 65 49 74 21 20 | 32 2e 31 20 a9 43 6f 70 |pileIt! |2.1 .Cop|
|000007b0| 79 72 69 67 68 74 20 31 | 39 39 32 20 62 79 20 48 |yright 1|992 by H|
|000007c0| 65 69 7a 65 72 20 53 6f | 66 74 77 61 72 65 2e 0d |eizer So|ftware..|
|000007d0| 2d 2d 20 54 68 65 20 73 | 6f 75 72 63 65 20 48 79 |-- The s|ource Hy|
|000007e0| 70 65 72 54 61 6c 6b 20 | 73 63 72 69 70 74 73 20 |perTalk |scripts |
|000007f0| 75 73 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 74 |used to |create t|
|00000800| 68 65 73 65 20 58 46 43 | 4e 73 20 61 6e 64 20 58 |hese XFC|Ns and X|
|00000810| 43 4d 44 73 20 61 72 65 | 20 61 74 20 74 68 65 20 |CMDs are| at the |
|00000820| 65 6e 64 0d 2d 2d 20 6f | 66 20 74 68 65 20 62 61 |end.-- o|f the ba|
|00000830| 63 6b 67 72 6f 75 6e 64 | 20 73 63 72 69 70 74 20 |ckground| script |
|00000840| 6f 66 20 74 68 65 20 54 | 69 6d 65 43 6c 6f 63 6b |of the T|imeClock|
|00000850| 20 73 74 61 63 6b 2e 0d | 0d 2d 2d 20 54 69 6d 65 | stack..|.-- Time|
|00000860| 42 6f 6f 6b d5 73 20 54 | 69 6d 65 43 6c 6f 63 6b |Book.s T|imeClock|
|00000870| 20 73 74 61 63 6b 20 75 | 73 65 73 20 61 6e 20 58 | stack u|ses an X|
|00000880| 46 43 4e 20 63 61 6c 6c | 65 64 20 70 6f 70 55 70 |FCN call|ed popUp|
|00000890| 4d 65 6e 75 28 29 20 58 | 46 43 4e 20 a9 43 6f 70 |Menu() X|FCN .Cop|
|000008a0| 79 72 69 67 68 74 20 31 | 39 39 31 0d 2d 2d 20 62 |yright 1|991.-- b|
|000008b0| 79 20 42 75 6e 67 44 61 | 62 62 61 20 50 72 6f 64 |y BungDa|bba Prod|
|000008c0| 75 63 74 69 6f 6e 73 2c | 20 41 6c 6c 20 52 69 67 |uctions,| All Rig|
|000008d0| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 20 41 20 |hts Rese|rved. A |
|000008e0| 70 6f 70 75 70 20 6d 65 | 6e 75 20 58 46 43 4e 20 |popup me|nu XFCN |
|000008f0| 77 68 69 63 68 0d 2d 2d | 20 61 6c 6c 6f 77 73 20 |which.--| allows |
|00000900| 79 6f 75 20 74 6f 20 73 | 70 65 63 69 66 79 20 66 |you to s|pecify f|
|00000910| 6f 6e 74 20 61 6e 64 20 | 73 69 7a 65 2e 0d 0d 2d |ont and |size...-|
|00000920| 2d 20 47 4c 4f 42 41 4c | 53 3a 20 63 6f 6d 6d 65 |- GLOBAL|S: comme|
|00000930| 6e 74 73 4f 6e 2c 20 61 | 75 74 6f 55 70 64 61 74 |ntsOn, a|utoUpdat|
|00000940| 65 2c 20 70 72 6f 4d 65 | 6e 75 73 2c 20 70 75 6e |e, proMe|nus, pun|
|00000950| 63 68 4c 6f 63 6b 4f 75 | 74 2c 0d 2d 2d 20 63 6c |chLockOu|t,.-- cl|
|00000960| 69 65 6e 74 4e 75 6d 65 | 72 61 6c 73 2c 20 6a 6f |ientNume|rals, jo|
|00000970| 62 4e 75 6d 65 72 61 6c | 73 2c 20 76 65 72 73 69 |bNumeral|s, versi|
|00000980| 6f 6e 4e 75 6d 62 65 72 | 2c 20 73 61 76 65 4c 6f |onNumber|, saveLo|
|00000990| 63 6b 4f 75 74 2c 20 68 | 6f 6c 64 44 61 79 4c 69 |ckOut, h|oldDayLi|
|000009a0| 73 74 2c 0d 2d 2d 20 6f | 70 74 69 6f 6e 53 74 61 |st,.-- o|ptionSta|
|000009b0| 72 74 2c 20 64 61 79 73 | 45 6e 64 2c 20 61 6c 72 |rt, days|End, alr|
|000009c0| 65 61 64 79 4b 6e 6f 77 | 2c 20 6c 61 73 74 43 6c |eadyKnow|, lastCl|
|000009d0| 69 63 6b 0d 0d 0d 6f 6e | 20 6f 70 65 6e 53 74 61 |ick...on| openSta|
|000009e0| 63 6b 0d 69 66 20 77 72 | 6f 6e 67 53 74 61 63 6b |ck.if wr|ongStack|
|000009f0| 28 29 20 74 68 65 6e 20 | 70 61 73 73 20 6f 70 65 |() then |pass ope|
|00000a00| 6e 53 74 61 63 6b 0d 67 | 6c 6f 62 61 6c 20 76 65 |nStack.g|lobal ve|
|00000a10| 72 73 69 6f 6e 4e 75 6d | 62 65 72 2c 6a 6f 62 4e |rsionNum|ber,jobN|
|00000a20| 75 6d 65 72 61 6c 73 2c | 63 6c 69 65 6e 74 4e 75 |umerals,|clientNu|
|00000a30| 6d 65 72 61 6c 73 2c 70 | 75 6e 63 68 4c 6f 63 6b |merals,p|unchLock|
|00000a40| 4f 75 74 2c 70 72 6f 4d | 65 6e 75 73 2c 61 75 74 |Out,proM|enus,aut|
|00000a50| 6f 55 70 64 61 74 65 2c | 63 6f 6d 6d 65 6e 74 73 |oUpdate,|comments|
|00000a60| 4f 6e 2c 72 6f 75 6e 64 | 55 70 2c 72 65 74 75 72 |On,round|Up,retur|
|00000a70| 6e 54 6f 4d 65 0d 69 66 | 20 74 68 65 20 76 65 72 |nToMe.if| the ver|
|00000a80| 73 69 6f 6e 20 3c 20 32 | 2e 31 20 74 68 65 6e 0d |sion < 2|.1 then.|
|00000a90| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 6d 75 73 74 |answer "|You must|
|00000aa0| 20 72 75 6e 20 48 79 70 | 65 72 43 61 72 64 20 32 | run Hyp|erCard 2|
|00000ab0| 2e 31 20 6f 72 20 6c 61 | 74 65 72 20 74 6f 20 75 |.1 or la|ter to u|
|00000ac0| 73 65 20 54 69 6d 65 42 | 6f 6f 6b 2e 22 20 77 69 |se TimeB|ook." wi|
|00000ad0| 74 68 20 22 54 72 79 20 | 41 6e 79 77 61 79 22 20 |th "Try |Anyway" |
|00000ae0| 6f 72 20 22 51 75 69 74 | 22 0d 69 66 20 69 74 20 |or "Quit|".if it |
|00000af0| 69 73 20 22 51 75 69 74 | 22 20 74 68 65 6e 0d 64 |is "Quit|" then.d|
|00000b00| 6f 4d 65 6e 75 20 22 51 | 75 69 74 20 48 79 70 65 |oMenu "Q|uit Hype|
|00000b10| 72 43 61 72 64 22 0d 65 | 6e 64 20 69 66 0d 65 6e |rCard".e|nd if.en|
|00000b20| 64 20 69 66 0d 70 75 74 | 20 74 68 65 20 6c 6f 6e |d if.put| the lon|
|00000b30| 67 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |g name o|f this c|
|00000b40| 64 20 69 6e 74 6f 20 72 | 65 74 75 72 6e 54 6f 4d |d into r|eturnToM|
|00000b50| 65 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |e.set cu|rsor to |
|00000b60| 77 61 74 63 68 0d 70 75 | 74 20 77 6f 72 64 20 32 |watch.pu|t word 2|
|00000b70| 20 6f 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | of the |short na|
|00000b80| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00000b90| 20 69 6e 74 6f 20 76 65 | 72 73 69 6f 6e 4e 75 6d | into ve|rsionNum|
|00000ba0| 62 65 72 0d 73 74 61 72 | 74 20 75 73 69 6e 67 20 |ber.star|t using |
|00000bb0| 73 74 61 63 6b 20 22 54 | 69 6d 65 42 6f 6f 6b 22 |stack "T|imeBook"|
|00000bc0| 20 26 26 20 76 65 72 73 | 69 6f 6e 4e 75 6d 62 65 | && vers|ionNumbe|
|00000bd0| 72 0d 73 65 6e 64 20 6d | 6f 75 73 65 55 70 20 74 |r.send m|ouseUp t|
|00000be0| 6f 20 62 67 20 62 74 6e | 20 69 64 20 31 33 0d 6c |o bg btn| id 13.l|
|00000bf0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 69 66 20 6a 6f |ock scre|en.if jo|
|00000c00| 62 4e 75 6d 65 72 61 6c | 73 20 69 73 20 65 6d 70 |bNumeral|s is emp|
|00000c10| 74 79 20 6f 72 20 63 6c | 69 65 6e 74 4e 75 6d 65 |ty or cl|ientNume|
|00000c20| 72 61 6c 73 20 69 73 20 | 65 6d 70 74 79 20 6f 72 |rals is |empty or|
|00000c30| 20 72 6f 75 6e 64 55 70 | 20 69 73 20 65 6d 70 74 | roundUp| is empt|
|00000c40| 79 20 c2 0d 6f 72 20 63 | 6f 6d 6d 65 6e 74 73 4f |y ..or c|ommentsO|
|00000c50| 6e 20 69 73 20 65 6d 70 | 74 79 20 6f 72 20 70 72 |n is emp|ty or pr|
|00000c60| 6f 4d 65 6e 75 73 20 69 | 73 20 65 6d 70 74 79 20 |oMenus i|s empty |
|00000c70| 6f 72 20 61 75 74 6f 55 | 70 64 61 74 65 20 69 73 |or autoU|pdate is|
|00000c80| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 73 68 | empty t|hen.push|
|00000c90| 20 63 64 0d 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 | cd.lock| message|
|00000ca0| 73 0d 67 6f 20 74 6f 20 | 73 74 61 63 6b 20 22 54 |s.go to |stack "T|
|00000cb0| 69 6d 65 42 6f 6f 6b 22 | 20 26 26 20 76 65 72 73 |imeBook"| && vers|
|00000cc0| 69 6f 6e 4e 75 6d 62 65 | 72 0d 69 66 20 74 68 65 |ionNumbe|r.if the|
|00000cd0| 20 72 65 73 75 6c 74 20 | 69 73 20 65 6d 70 74 79 | result |is empty|
|00000ce0| 20 74 68 65 6e 0d 67 6f | 20 62 67 20 69 64 20 33 | then.go| bg id 3|
|00000cf0| 30 36 38 0d 70 75 74 20 | 62 67 20 66 6c 64 20 69 |068.put |bg fld i|
|00000d00| 64 20 35 20 69 6e 74 6f | 20 6a 6f 62 4e 75 6d 65 |d 5 into| jobNume|
|00000d10| 72 61 6c 73 0d 70 75 74 | 20 62 67 20 66 6c 64 20 |rals.put| bg fld |
|00000d20| 69 64 20 36 20 69 6e 74 | 6f 20 63 6c 69 65 6e 74 |id 6 int|o client|
|00000d30| 4e 75 6d 65 72 61 6c 73 | 0d 70 75 74 20 62 67 20 |Numerals|.put bg |
|00000d40| 66 6c 64 20 69 64 20 32 | 38 20 69 6e 74 6f 20 72 |fld id 2|8 into r|
|00000d50| 6f 75 6e 64 55 70 0d 67 | 6f 20 74 6f 20 63 64 20 |oundUp.g|o to cd |
|00000d60| 69 64 20 35 39 36 34 0d | 70 75 74 20 74 68 65 20 |id 5964.|put the |
|00000d70| 68 69 67 68 4c 69 67 68 | 74 20 6f 66 20 62 67 20 |highLigh|t of bg |
|00000d80| 62 74 6e 20 22 43 6f 6d | 6d 65 6e 74 73 22 20 69 |btn "Com|ments" i|
|00000d90| 6e 74 6f 20 63 6f 6d 6d | 65 6e 74 73 4f 6e 0d 70 |nto comm|entsOn.p|
|00000da0| 75 74 20 74 68 65 20 68 | 69 67 68 4c 69 67 68 74 |ut the h|ighLight|
|00000db0| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 50 72 6f 20 | of bg b|tn "Pro |
|00000dc0| 4d 65 6e 75 73 22 20 69 | 6e 74 6f 20 70 72 6f 4d |Menus" i|nto proM|
|00000dd0| 65 6e 75 73 0d 70 75 74 | 20 74 68 65 20 68 69 67 |enus.put| the hig|
|00000de0| 68 4c 69 67 68 74 20 6f | 66 20 62 67 20 62 74 6e |hLight o|f bg btn|
|00000df0| 20 22 41 75 74 6f 20 55 | 70 64 61 74 65 22 20 69 | "Auto U|pdate" i|
|00000e00| 6e 74 6f 20 61 75 74 6f | 55 70 64 61 74 65 0d 65 |nto auto|Update.e|
|00000e10| 6e 64 20 69 66 0d 70 6f | 70 20 63 64 0d 75 6e 6c |nd if.po|p cd.unl|
|00000e20| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 65 6e 64 |ock mess|ages.end|
|00000e30| 20 69 66 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | if.unlo|ck scree|
|00000e40| 6e 0d 69 66 20 66 6c 64 | 20 22 64 61 74 65 48 6f |n.if fld| "dateHo|
|00000e50| 6c 64 65 72 22 20 69 73 | 20 6e 6f 74 20 74 68 65 |lder" is| not the|
|00000e60| 20 6c 6f 6e 67 20 64 61 | 74 65 20 6f 72 20 70 75 | long da|te or pu|
|00000e70| 6e 63 68 4c 6f 63 6b 4f | 75 74 20 69 73 20 74 72 |nchLockO|ut is tr|
|00000e80| 75 65 20 74 68 65 6e 0d | 69 66 20 6c 69 6e 65 20 |ue then.|if line |
|00000e90| 33 20 6f 66 20 66 6c 64 | 20 22 6a 6f 62 49 6e 66 |3 of fld| "jobInf|
|00000ea0| 6f 22 20 69 73 20 22 6f | 70 65 6e 22 20 74 68 65 |o" is "o|pen" the|
|00000eb0| 6e 0d 63 6c 6f 73 65 59 | 65 73 74 65 72 64 61 79 |n.closeY|esterday|
|00000ec0| 0d 65 6e 64 20 69 66 0d | 69 74 73 41 4e 65 77 44 |.end if.|itsANewD|
|00000ed0| 61 79 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |ay.end i|f.if the|
|00000ee0| 72 65 20 69 73 20 6e 6f | 20 6d 65 6e 75 20 22 54 |re is no| menu "T|
|00000ef0| 69 6d 65 42 6f 6f 6b 22 | 20 74 68 65 6e 20 6c 6f |imeBook"| then lo|
|00000f00| 67 69 63 4d 65 6e 75 73 | 0d 65 6e 64 20 6f 70 65 |gicMenus|.end ope|
|00000f10| 6e 53 74 61 63 6b 0d 0d | 0d 6f 6e 20 69 74 73 41 |nStack..|.on itsA|
|00000f20| 4e 65 77 44 61 79 0d 67 | 6c 6f 62 61 6c 20 76 65 |NewDay.g|lobal ve|
|00000f30| 72 73 69 6f 6e 4e 75 6d | 62 65 72 2c 64 61 79 73 |rsionNum|ber,days|
|00000f40| 45 6e 64 2c 70 75 6e 63 | 68 4c 6f 63 6b 4f 75 74 |End,punc|hLockOut|
|00000f50| 0d 64 6f 4d 65 6e 75 20 | 22 43 6f 6d 70 61 63 74 |.doMenu |"Compact|
|00000f60| 20 53 74 61 63 6b 22 0d | 70 75 74 20 65 6d 70 74 | Stack".|put empt|
|00000f70| 79 20 69 6e 74 6f 20 66 | 6c 64 20 22 4a 6f 62 49 |y into f|ld "JobI|
|00000f80| 6e 66 6f 22 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |nfo".loc|k screen|
|00000f90| 0d 69 66 20 67 75 65 73 | 73 4d 6f 6e 64 61 79 28 |.if gues|sMonday(|
|00000fa0| 74 68 65 20 73 68 6f 72 | 74 20 64 61 74 65 29 20 |the shor|t date) |
|00000fb0| 69 73 20 6e 6f 74 20 66 | 6c 64 20 22 77 65 65 6b |is not f|ld "week|
|00000fc0| 48 6f 6c 64 65 72 22 20 | 74 68 65 6e 0d 75 6e 6c |Holder" |then.unl|
|00000fd0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 22 |ock scre|en.put "|
|00000fe0| 6f 70 65 6e 20 6a 6f 62 | 22 20 69 6e 74 6f 20 64 |open job|" into d|
|00000ff0| 61 79 73 45 6e 64 0d 67 | 6f 20 73 74 61 63 6b 20 |aysEnd.g|o stack |
|00001000| 22 54 69 6d 65 42 6f 6f | 6b 22 20 26 26 20 76 65 |"TimeBoo|k" && ve|
|00001010| 72 73 69 6f 6e 4e 75 6d | 62 65 72 0d 67 6f 20 62 |rsionNum|ber.go b|
|00001020| 67 20 22 64 61 79 52 65 | 63 6f 72 64 65 72 0d 70 |g "dayRe|corder.p|
|00001030| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 70 75 6e |ut true |into pun|
|00001040| 63 68 4c 6f 63 6b 4f 75 | 74 0d 65 78 69 74 20 74 |chLockOu|t.exit t|
|00001050| 6f 20 68 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o hyperC|ard.end |
|00001060| 69 66 0d 70 75 73 68 20 | 63 64 0d 6c 6f 63 6b 20 |if.push |cd.lock |
|00001070| 6d 65 73 73 61 67 65 73 | 0d 70 75 74 20 74 68 65 |messages|.put the|
|00001080| 20 6c 6f 6e 67 20 64 61 | 74 65 20 69 6e 74 6f 20 | long da|te into |
|00001090| 66 6c 64 20 22 64 61 74 | 65 48 6f 6c 64 65 72 22 |fld "dat|eHolder"|
|000010a0| 0d 70 75 74 20 66 6c 64 | 20 22 64 61 74 65 48 6f |.put fld| "dateHo|
|000010b0| 6c 64 65 72 22 20 69 6e | 74 6f 20 74 68 69 73 43 |lder" in|to thisC|
|000010c0| 64 0d 63 6f 6e 76 65 72 | 74 20 74 68 69 73 43 64 |d.conver|t thisCd|
|000010d0| 20 74 6f 20 73 68 6f 72 | 74 20 64 61 74 65 0d 67 | to shor|t date.g|
|000010e0| 6f 20 73 74 61 63 6b 20 | 22 54 69 6d 65 42 6f 6f |o stack |"TimeBoo|
|000010f0| 6b 22 20 26 26 20 76 65 | 72 73 69 6f 6e 4e 75 6d |k" && ve|rsionNum|
|00001100| 62 65 72 0d 67 6f 20 63 | 64 20 22 54 69 6d 65 20 |ber.go c|d "Time |
|00001110| 42 6f 6f 6b 22 20 26 26 | 20 74 68 65 20 73 68 6f |Book" &&| the sho|
|00001120| 72 74 20 64 61 74 65 0d | 69 66 20 66 6c 64 20 69 |rt date.|if fld i|
|00001130| 64 20 32 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |d 2 is n|ot empty|
|00001140| 20 74 68 65 6e 20 70 75 | 74 20 69 74 65 6d 20 32 | then pu|t item 2|
|00001150| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 6c 69 6e | of the |last lin|
|00001160| 65 20 6f 66 20 66 6c 64 | 20 69 64 20 32 20 69 6e |e of fld| id 2 in|
|00001170| 74 6f 20 70 72 65 76 45 | 6e 64 0d 65 6c 73 65 20 |to prevE|nd.else |
|00001180| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 70 |put empt|y into p|
|00001190| 72 65 76 45 6e 64 0d 72 | 65 70 65 61 74 20 77 69 |revEnd.r|epeat wi|
|000011a0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th x = 1| to the |
|000011b0| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 73 20 6f 66 |number o|f cds of|
|000011c0| 20 74 68 69 73 20 62 67 | 0d 67 6f 20 63 64 20 78 | this bg|.go cd x|
|000011d0| 20 6f 66 20 74 68 69 73 | 20 62 67 0d 73 65 74 20 | of this| bg.set |
|000011e0| 74 68 65 20 68 69 67 68 | 6c 69 67 68 74 20 6f 66 |the high|light of|
|000011f0| 20 62 67 20 62 74 6e 20 | 28 69 74 65 6d 20 31 20 | bg btn |(item 1 |
|00001200| 6f 66 20 66 6c 64 20 22 | 44 61 79 22 29 20 74 6f |of fld "|Day") to|
|00001210| 20 66 61 6c 73 65 0d 65 | 6e 64 20 72 65 70 65 61 | false.e|nd repea|
|00001220| 74 0d 70 6f 70 20 63 64 | 0d 70 75 74 20 70 72 65 |t.pop cd|.put pre|
|00001230| 76 45 6e 64 20 69 6e 74 | 6f 20 66 6c 64 20 22 50 |vEnd int|o fld "P|
|00001240| 72 65 76 45 6e 64 54 69 | 6d 65 22 0d 75 6e 6c 6f |revEndTi|me".unlo|
|00001250| 63 6b 20 73 63 72 65 65 | 6e 0d 75 6e 6c 6f 63 6b |ck scree|n.unlock|
|00001260| 20 6d 65 73 73 61 67 65 | 73 0d 65 6e 64 20 69 74 | message|s.end it|
|00001270| 73 41 4e 65 77 44 61 79 | 0d 0d 0d 6f 6e 20 6d 6f |sANewDay|...on mo|
|00001280| 75 73 65 55 70 49 6e 50 | 69 63 74 75 72 65 20 74 |useUpInP|icture t|
|00001290| 68 65 77 69 6e 64 6f 77 | 0d 69 66 20 74 68 65 72 |hewindow|.if ther|
|000012a0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 74 68 |e is a w|indow th|
|000012b0| 65 77 69 6e 64 6f 77 20 | 74 68 65 6e 0d 63 6c 6f |ewindow |then.clo|
|000012c0| 73 65 20 77 69 6e 64 6f | 77 20 74 68 65 77 69 6e |se windo|w thewin|
|000012d0| 64 6f 77 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |dow.end |if.end m|
|000012e0| 6f 75 73 65 55 70 49 6e | 50 69 63 74 75 72 65 0d |ouseUpIn|Picture.|
|000012f0| 0d 0d 6f 6e 20 63 6c 6f | 73 65 59 65 73 74 65 72 |..on clo|seYester|
|00001300| 64 61 79 0d 67 6c 6f 62 | 61 6c 20 64 61 79 73 45 |day.glob|al daysE|
|00001310| 6e 64 0d 70 75 74 20 63 | 68 65 63 6b 46 6f 72 32 |nd.put c|heckFor2|
|00001320| 34 48 6f 75 72 43 6c 6f | 63 6b 28 29 20 69 6e 74 |4HourClo|ck() int|
|00001330| 6f 20 63 6c 6f 63 6b 43 | 68 65 63 6b 0d 69 66 20 |o clockC|heck.if |
|00001340| 63 6c 6f 63 6b 43 68 65 | 63 6b 20 69 73 20 22 74 |clockChe|ck is "t|
|00001350| 77 65 6c 76 65 43 6c 6f | 63 6b 22 20 74 68 65 6e |welveClo|ck" then|
|00001360| 0d 70 75 74 20 22 31 31 | 3a 35 39 20 50 4d 22 20 |.put "11|:59 PM" |
|00001370| 69 6e 74 6f 20 65 6e 64 | 4f 66 44 61 79 0d 70 75 |into end|OfDay.pu|
|00001380| 74 20 22 31 32 3a 30 30 | 20 41 4d 22 20 69 6e 74 |t "12:00| AM" int|
|00001390| 6f 20 73 74 61 72 74 4f | 66 44 61 79 0d 65 6c 73 |o startO|fDay.els|
|000013a0| 65 0d 70 75 74 20 22 32 | 33 3a 35 39 22 20 69 6e |e.put "2|3:59" in|
|000013b0| 74 6f 20 65 6e 64 4f 66 | 44 61 79 0d 70 75 74 20 |to endOf|Day.put |
|000013c0| 22 30 30 3a 30 30 22 20 | 69 6e 74 6f 20 73 74 61 |"00:00" |into sta|
|000013d0| 72 74 4f 66 44 61 79 0d | 65 6e 64 20 69 66 0d 70 |rtOfDay.|end if.p|
|000013e0| 75 74 20 22 6f 70 65 6e | 20 6a 6f 62 22 20 69 6e |ut "open| job" in|
|000013f0| 74 6f 20 64 61 79 73 45 | 6e 64 0d 61 6e 73 77 65 |to daysE|nd.answe|
|00001400| 72 20 22 59 6f 75 20 6d | 75 73 74 20 73 74 6f 70 |r "You m|ust stop|
|00001410| 20 74 68 65 20 6f 70 65 | 6e 20 6a 6f 62 2e 20 49 | the ope|n job. I|
|00001420| 66 20 79 6f 75 d5 72 65 | 20 77 6f 72 6b 69 6e 67 |f you.re| working|
|00001430| 20 22 20 26 20 c2 0d 22 | 70 61 73 74 20 6d 69 64 | " & .."|past mid|
|00001440| 6e 69 67 68 74 20 2d 20 | 65 6e 74 65 72 20 22 20 |night - |enter " |
|00001450| 26 20 65 6e 64 4f 66 44 | 61 79 20 26 20 22 20 61 |& endOfD|ay & " a|
|00001460| 6e 64 20 72 65 2d 73 74 | 61 72 74 20 74 68 65 20 |nd re-st|art the |
|00001470| 6a 6f 62 20 61 74 20 22 | 20 26 20 73 74 61 72 74 |job at "| & start|
|00001480| 4f 66 44 61 79 20 26 20 | 22 2e 22 0d 6c 6f 67 69 |OfDay & |".".logi|
|00001490| 63 4d 65 6e 75 73 0d 65 | 78 69 74 20 74 6f 20 68 |cMenus.e|xit to h|
|000014a0| 79 70 65 72 43 61 72 64 | 0d 65 6e 64 20 63 6c 6f |yperCard|.end clo|
|000014b0| 73 65 59 65 73 74 65 72 | 64 61 79 0d 0d 0d 6f 6e |seYester|day...on|
|000014c0| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 69 66 20 | resumeS|tack.if |
|000014d0| 77 72 6f 6e 67 53 74 61 | 63 6b 28 29 20 74 68 65 |wrongSta|ck() the|
|000014e0| 6e 20 70 61 73 73 20 72 | 65 73 75 6d 65 53 74 61 |n pass r|esumeSta|
|000014f0| 63 6b 0d 6f 70 65 6e 53 | 74 61 63 6b 0d 65 6e 64 |ck.openS|tack.end|
|00001500| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 0d 0d 66 | resumeS|tack...f|
|00001510| 75 6e 63 74 69 6f 6e 20 | 77 72 6f 6e 67 53 74 61 |unction |wrongSta|
|00001520| 63 6b 0d 67 65 74 20 74 | 68 65 20 76 61 6c 75 65 |ck.get t|he value|
|00001530| 20 6f 66 20 77 6f 72 64 | 20 32 20 6f 66 20 74 68 | of word| 2 of th|
|00001540| 65 20 6c 6f 6e 67 20 6e | 61 6d 65 20 6f 66 20 6d |e long n|ame of m|
|00001550| 65 0d 72 65 74 75 72 6e | 20 28 69 74 20 69 73 20 |e.return| (it is |
|00001560| 6e 6f 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 74 68 |not line| 1 of th|
|00001570| 65 20 73 74 61 63 6b 73 | 29 0d 65 6e 64 20 77 72 |e stacks|).end wr|
|00001580| 6f 6e 67 53 74 61 63 6b | 0d 0d 0d 6f 6e 20 72 65 |ongStack|...on re|
|00001590| 73 75 6d 65 0d 69 66 20 | 77 72 6f 6e 67 53 74 61 |sume.if |wrongSta|
|000015a0| 63 6b 28 29 20 74 68 65 | 6e 20 70 61 73 73 20 72 |ck() the|n pass r|
|000015b0| 65 73 75 6d 65 0d 6f 70 | 65 6e 53 74 61 63 6b 53 |esume.op|enStackS|
|000015c0| 74 61 63 6b 0d 65 6e 64 | 20 72 65 73 75 6d 65 0d |tack.end| resume.|
|000015d0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 63 68 65 63 6b |..functi|on check|
|000015e0| 46 6f 72 32 34 48 6f 75 | 72 43 6c 6f 63 6b 0d 70 |For24Hou|rClock.p|
|000015f0| 75 74 20 74 68 65 20 74 | 69 6d 65 20 69 6e 74 6f |ut the t|ime into|
|00001600| 20 63 68 65 63 6b 54 69 | 6d 65 0d 69 66 20 22 41 | checkTi|me.if "A|
|00001610| 4d 22 20 69 73 20 69 6e | 20 63 68 65 63 6b 54 69 |M" is in| checkTi|
|00001620| 6d 65 20 6f 72 20 22 50 | 4d 22 20 69 73 20 69 6e |me or "P|M" is in|
|00001630| 20 63 68 65 63 6b 54 69 | 6d 65 20 74 68 65 6e 0d | checkTi|me then.|
|00001640| 70 75 74 20 74 77 65 6c | 76 65 43 6c 6f 63 6b 20 |put twel|veClock |
|00001650| 69 6e 74 6f 20 63 6c 6f | 63 6b 54 79 70 65 0d 65 |into clo|ckType.e|
|00001660| 6c 73 65 0d 70 75 74 20 | 74 77 65 6e 74 79 46 6f |lse.put |twentyFo|
|00001670| 75 72 43 6c 6f 63 6b 20 | 69 6e 74 6f 20 63 6c 6f |urClock |into clo|
|00001680| 63 6b 54 79 70 65 0d 65 | 6e 64 20 69 66 0d 72 65 |ckType.e|nd if.re|
|00001690| 74 75 72 6e 20 63 6c 6f | 63 6b 54 79 70 65 0d 65 |turn clo|ckType.e|
|000016a0| 6e 64 20 63 68 65 63 6b | 46 6f 72 32 34 48 6f 75 |nd check|For24Hou|
|000016b0| 72 43 6c 6f 63 6b 0d 0d | 0d 6f 6e 20 63 6c 6f 73 |rClock..|.on clos|
|000016c0| 65 53 74 61 63 6b 0d 67 | 6c 6f 62 61 6c 20 76 65 |eStack.g|lobal ve|
|000016d0| 72 73 69 6f 6e 4e 75 6d | 62 65 72 0d 69 66 20 77 |rsionNum|ber.if w|
|000016e0| 72 6f 6e 67 53 74 61 63 | 6b 28 29 20 74 68 65 6e |rongStac|k() then|
|000016f0| 20 70 61 73 73 20 63 6c | 6f 73 65 53 74 61 63 6b | pass cl|oseStack|
|00001700| 0d 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 74 |.put wor|d 2 of t|
|00001710| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00001720| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00001730| 20 76 65 72 73 69 6f 6e | 4e 75 6d 62 65 72 0d 75 | version|Number.u|
|00001740| 6e 4c 6f 67 69 63 4d 65 | 6e 75 73 0d 73 74 6f 70 |nLogicMe|nus.stop|
|00001750| 4c 6f 67 69 63 0d 70 61 | 73 73 20 63 6c 6f 73 65 |Logic.pa|ss close|
|00001760| 53 74 61 63 6b 0d 65 6e | 64 20 63 6c 6f 73 65 53 |Stack.en|d closeS|
|00001770| 74 61 63 6b 0d 0d 6f 6e | 20 73 75 73 70 65 6e 64 |tack..on| suspend|
|00001780| 53 74 61 63 6b 0d 69 66 | 20 77 72 6f 6e 67 53 74 |Stack.if| wrongSt|
|00001790| 61 63 6b 28 29 20 74 68 | 65 6e 20 70 61 73 73 20 |ack() th|en pass |
|000017a0| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 63 6c 6f |suspendS|tack.clo|
|000017b0| 73 65 53 74 61 63 6b 0d | 65 6e 64 20 73 75 73 70 |seStack.|end susp|
|000017c0| 65 6e 64 53 74 61 63 6b | 0d 0d 6f 6e 20 73 75 73 |endStack|..on sus|
|000017d0| 70 65 6e 64 0d 69 66 20 | 77 72 6f 6e 67 53 74 61 |pend.if |wrongSta|
|000017e0| 63 6b 28 29 20 74 68 65 | 6e 20 70 61 73 73 20 73 |ck() the|n pass s|
|000017f0| 75 73 70 65 6e 64 0d 63 | 6c 6f 73 65 53 74 61 63 |uspend.c|loseStac|
|00001800| 6b 0d 65 6e 64 20 73 75 | 73 70 65 6e 64 0d 0d 0d |k.end su|spend...|
|00001810| 6f 6e 20 73 74 6f 70 4c | 6f 67 69 63 0d 67 6c 6f |on stopL|ogic.glo|
|00001820| 62 61 6c 20 76 65 72 73 | 69 6f 6e 4e 75 6d 62 65 |bal vers|ionNumbe|
|00001830| 72 0d 69 66 20 22 54 69 | 6d 65 42 6f 6f 6b 22 20 |r.if "Ti|meBook" |
|00001840| 26 26 20 76 65 72 73 69 | 6f 6e 4e 75 6d 62 65 72 |&& versi|onNumber|
|00001850| 20 69 73 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b | is in t|he stack|
|00001860| 73 49 6e 55 73 65 20 74 | 68 65 6e 20 73 74 6f 70 |sInUse t|hen stop|
|00001870| 20 75 73 69 6e 67 20 73 | 74 61 63 6b 20 22 54 69 | using s|tack "Ti|
|00001880| 6d 65 42 6f 6f 6b 22 20 | 26 26 20 76 65 72 73 69 |meBook" |&& versi|
|00001890| 6f 6e 4e 75 6d 62 65 72 | 0d 65 6e 64 20 73 74 6f |onNumber|.end sto|
|000018a0| 70 4c 6f 67 69 63 0d 0d | 6f 6e 20 73 74 61 72 74 |pLogic..|on start|
|000018b0| 4c 6f 67 69 63 0d 67 6c | 6f 62 61 6c 20 76 65 72 |Logic.gl|obal ver|
|000018c0| 73 69 6f 6e 4e 75 6d 62 | 65 72 0d 69 66 20 22 54 |sionNumb|er.if "T|
|000018d0| 69 6d 65 42 6f 6f 6b 22 | 20 26 26 20 76 65 72 73 |imeBook"| && vers|
|000018e0| 69 6f 6e 4e 75 6d 62 65 | 72 20 69 73 20 6e 6f 74 |ionNumbe|r is not|
|000018f0| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 73 49 6e | in the |stacksIn|
|00001900| 55 73 65 20 74 68 65 6e | 20 73 74 61 72 74 20 75 |Use then| start u|
|00001910| 73 69 6e 67 20 73 74 61 | 63 6b 20 22 54 69 6d 65 |sing sta|ck "Time|
|00001920| 42 6f 6f 6b 22 20 26 26 | 20 76 65 72 73 69 6f 6e |Book" &&| version|
|00001930| 4e 75 6d 62 65 72 0d 65 | 6e 64 20 73 74 61 72 74 |Number.e|nd start|
|00001940| 4c 6f 67 69 63 0d 0d 6f | 6e 20 73 74 6f 70 50 75 |Logic..o|n stopPu|
|00001950| 6e 63 68 0d 67 6c 6f 62 | 61 6c 20 76 65 72 73 69 |nch.glob|al versi|
|00001960| 6f 6e 4e 75 6d 62 65 72 | 0d 69 66 20 22 54 69 6d |onNumber|.if "Tim|
|00001970| 65 43 6c 6f 63 6b 22 20 | 26 26 20 76 65 72 73 69 |eClock" |&& versi|
|00001980| 6f 6e 4e 75 6d 62 65 72 | 20 69 73 20 69 6e 20 74 |onNumber| is in t|
|00001990| 68 65 20 73 74 61 63 6b | 73 49 6e 55 73 65 20 74 |he stack|sInUse t|
|000019a0| 68 65 6e 20 73 74 6f 70 | 20 75 73 69 6e 67 20 73 |hen stop| using s|
|000019b0| 74 61 63 6b 20 22 54 69 | 6d 65 43 6c 6f 63 6b 22 |tack "Ti|meClock"|
|000019c0| 20 26 26 20 76 65 72 73 | 69 6f 6e 4e 75 6d 62 65 | && vers|ionNumbe|
|000019d0| 72 0d 65 6e 64 20 73 74 | 6f 70 50 75 6e 63 68 0d |r.end st|opPunch.|
|000019e0| 0d 6f 6e 20 73 74 61 72 | 74 50 75 6e 63 68 0d 67 |.on star|tPunch.g|
|000019f0| 6c 6f 62 61 6c 20 76 65 | 72 73 69 6f 6e 4e 75 6d |lobal ve|rsionNum|
|00001a00| 62 65 72 0d 69 66 20 22 | 54 69 6d 65 43 6c 6f 63 |ber.if "|TimeCloc|
|00001a10| 6b 22 20 26 26 20 76 65 | 72 73 69 6f 6e 4e 75 6d |k" && ve|rsionNum|
|00001a20| 62 65 72 20 69 73 20 6e | 6f 74 20 69 6e 20 74 68 |ber is n|ot in th|
|00001a30| 65 20 73 74 61 63 6b 73 | 49 6e 55 73 65 20 74 68 |e stacks|InUse th|
|00001a40| 65 6e 20 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |en start| using s|
|00001a50| 74 61 63 6b 20 22 54 69 | 6d 65 43 6c 6f 63 6b 22 |tack "Ti|meClock"|
|00001a60| 20 26 26 20 76 65 72 73 | 69 6f 6e 4e 75 6d 62 65 | && vers|ionNumbe|
|00001a70| 72 0d 65 6e 64 20 73 74 | 61 72 74 50 75 6e 63 68 |r.end st|artPunch|
|00001a80| 0d 0d 0d 6f 6e 20 73 74 | 61 6e 64 61 72 64 53 61 |...on st|andardSa|
|00001a90| 76 65 0d 67 6c 6f 62 61 | 6c 20 76 65 72 73 69 6f |ve.globa|l versio|
|00001aa0| 6e 4e 75 6d 62 65 72 2c | 72 65 74 75 72 6e 54 6f |nNumber,|returnTo|
|00001ab0| 4d 65 0d 6c 6f 63 6b 20 | 6d 65 73 73 61 67 65 73 |Me.lock |messages|
|00001ac0| 0d 67 6f 20 74 6f 20 62 | 67 20 22 54 69 6d 65 53 |.go to b|g "TimeS|
|00001ad0| 68 65 65 74 22 0d 70 75 | 74 20 74 68 65 20 6c 61 |heet".pu|t the la|
|00001ae0| 73 74 20 77 6f 72 64 20 | 6f 66 20 66 6c 64 20 22 |st word |of fld "|
|00001af0| 54 69 6d 65 53 68 65 65 | 74 4e 61 6d 65 22 20 69 |TimeShee|tName" i|
|00001b00| 6e 74 6f 20 65 6d 70 6c | 6f 79 65 65 4e 75 6d 0d |nto empl|oyeeNum.|
|00001b10| 70 75 74 20 77 6f 72 64 | 20 31 20 74 6f 20 28 74 |put word| 1 to (t|
|00001b20| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 6f 72 |he numbe|r of wor|
|00001b30| 64 73 20 6f 66 20 66 6c | 64 20 22 54 69 6d 65 53 |ds of fl|d "TimeS|
|00001b40| 68 65 65 74 4e 61 6d 65 | 22 20 2d 20 31 29 20 6f |heetName|" - 1) o|
|00001b50| 66 20 66 6c 64 20 22 54 | 69 6d 65 53 68 65 65 74 |f fld "T|imeSheet|
|00001b60| 4e 61 6d 65 22 20 69 6e | 74 6f 20 65 6d 70 6c 6f |Name" in|to emplo|
|00001b70| 79 65 65 4e 61 6d 65 0d | 70 75 74 20 66 6c 64 20 |yeeName.|put fld |
|00001b80| 22 54 69 6d 65 53 68 65 | 65 74 57 65 65 6b 22 20 |"TimeShe|etWeek" |
|00001b90| 69 6e 74 6f 20 77 65 65 | 6b 4f 66 0d 63 6f 6e 76 |into wee|kOf.conv|
|00001ba0| 65 72 74 20 77 65 65 6b | 4f 66 20 74 6f 20 73 68 |ert week|Of to sh|
|00001bb0| 6f 72 74 20 64 61 74 65 | 0d 70 75 74 20 65 6d 70 |ort date|.put emp|
|00001bc0| 6c 6f 79 65 65 4e 75 6d | 20 26 20 22 2c 22 20 26 |loyeeNum| & "," &|
|00001bd0| 20 77 65 65 6b 4f 66 20 | 69 6e 74 6f 20 74 68 69 | weekOf |into thi|
|00001be0| 73 54 69 6d 65 53 68 65 | 65 74 0d 70 75 74 20 66 |sTimeShe|et.put f|
|00001bf0| 6c 64 20 22 4a 6f 62 4e | 75 6d 62 65 72 22 20 69 |ld "JobN|umber" i|
|00001c00| 6e 74 6f 20 73 61 76 65 | 4a 6f 62 4e 75 6d 62 65 |nto save|JobNumbe|
|00001c10| 72 0d 70 75 74 20 66 6c | 64 20 22 42 69 6c 6c 69 |r.put fl|d "Billi|
|00001c20| 6e 67 43 61 74 22 20 69 | 6e 74 6f 20 73 61 76 65 |ngCat" i|nto save|
|00001c30| 42 69 6c 6c 69 6e 67 43 | 61 74 0d 70 75 74 20 66 |BillingC|at.put f|
|00001c40| 6c 64 20 22 54 6f 74 61 | 6c 22 20 69 6e 74 6f 20 |ld "Tota|l" into |
|00001c50| 73 61 76 65 54 6f 74 61 | 6c 0d 70 75 74 20 66 6c |saveTota|l.put fl|
|00001c60| 64 20 22 54 6f 74 61 6c | 42 69 6c 6c 48 6f 75 72 |d "Total|BillHour|
|00001c70| 73 22 20 69 6e 74 6f 20 | 73 61 76 65 54 6f 74 61 |s" into |saveTota|
|00001c80| 6c 42 69 6c 6c 48 6f 75 | 72 73 0d 70 75 74 20 66 |lBillHou|rs.put f|
|00001c90| 6c 64 20 22 54 6f 74 61 | 6c 48 6f 75 72 73 22 20 |ld "Tota|lHours" |
|00001ca0| 69 6e 74 6f 20 73 61 76 | 65 54 6f 74 61 6c 48 6f |into sav|eTotalHo|
|00001cb0| 75 72 73 0d 70 75 74 20 | 66 6c 64 20 22 4f 76 65 |urs.put |fld "Ove|
|00001cc0| 72 54 69 6d 65 22 20 69 | 6e 74 6f 20 73 61 76 65 |rTime" i|nto save|
|00001cd0| 4f 76 65 72 54 69 6d 65 | 0d 70 75 74 20 66 6c 64 |OverTime|.put fld|
|00001ce0| 20 22 54 6f 74 61 6c 4f | 76 65 72 48 6f 75 72 73 | "TotalO|verHours|
|00001cf0| 22 20 69 6e 74 6f 20 73 | 61 76 65 54 6f 74 61 6c |" into s|aveTotal|
|00001d00| 4f 76 65 72 54 69 6d 65 | 0d 70 75 74 20 66 6c 64 |OverTime|.put fld|
|00001d10| 20 22 52 61 77 44 61 74 | 61 22 20 69 6e 74 6f 20 | "RawDat|a" into |
|00001d20| 73 61 76 65 52 61 77 44 | 61 74 61 0d 70 75 74 20 |saveRawD|ata.put |
|00001d30| 66 6c 64 20 22 43 6f 6d | 6d 65 6e 74 73 22 20 69 |fld "Com|ments" i|
|00001d40| 6e 74 6f 20 73 61 76 65 | 43 6f 6d 6d 65 6e 74 73 |nto save|Comments|
|00001d50| 0d 67 6f 20 74 6f 20 62 | 67 20 22 53 61 76 65 64 |.go to b|g "Saved|
|00001d60| 54 69 6d 65 53 68 65 65 | 74 73 22 20 6f 66 20 73 |TimeShee|ts" of s|
|00001d70| 74 61 63 6b 20 28 22 54 | 69 6d 65 46 69 6c 65 22 |tack ("T|imeFile"|
|00001d80| 20 26 20 65 6d 70 6c 6f | 79 65 65 4e 75 6d 29 20 | & emplo|yeeNum) |
|00001d90| 77 69 74 68 6f 75 74 20 | 64 69 61 6c 6f 67 0d 69 |without |dialog.i|
|00001da0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00001db0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 63 |not empt|y then.c|
|00001dc0| 68 65 63 6b 4e 75 6d 20 | 65 6d 70 6c 6f 79 65 65 |heckNum |employee|
|00001dd0| 4e 75 6d 2c 72 65 74 75 | 72 6e 54 6f 4d 65 0d 65 |Num,retu|rnToMe.e|
|00001de0| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 72 65 20 69 |nd if.if| there i|
|00001df0| 73 20 61 20 63 64 20 74 | 68 69 73 54 69 6d 65 53 |s a cd t|hisTimeS|
|00001e00| 68 65 65 74 20 74 68 65 | 6e 0d 67 6f 20 74 6f 20 |heet the|n.go to |
|00001e10| 63 64 20 74 68 69 73 54 | 69 6d 65 53 68 65 65 74 |cd thisT|imeSheet|
|00001e20| 0d 65 6c 73 65 0d 67 6f | 20 74 6f 20 6c 61 73 74 |.else.go| to last|
|00001e30| 20 63 64 20 6f 66 20 74 | 68 69 73 20 62 67 0d 64 | cd of t|his bg.d|
|00001e40| 6f 4d 65 6e 75 20 22 4e | 65 77 20 43 61 72 64 22 |oMenu "N|ew Card"|
|00001e50| 0d 73 65 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |.set the| name of|
|00001e60| 20 74 68 69 73 20 63 64 | 20 74 6f 20 74 68 69 73 | this cd| to this|
|00001e70| 54 69 6d 65 53 68 65 65 | 74 0d 70 75 74 20 65 6d |TimeShee|t.put em|
|00001e80| 70 6c 6f 79 65 65 4e 61 | 6d 65 20 69 6e 74 6f 20 |ployeeNa|me into |
|00001e90| 66 6c 64 20 22 54 69 6d | 65 53 68 65 65 74 4e 61 |fld "Tim|eSheetNa|
|00001ea0| 6d 65 22 0d 70 75 74 20 | 77 65 65 6b 4f 66 20 69 |me".put |weekOf i|
|00001eb0| 6e 74 6f 20 66 6c 64 20 | 22 54 69 6d 65 53 68 65 |nto fld |"TimeShe|
|00001ec0| 65 74 57 65 65 6b 22 0d | 65 6e 64 20 69 66 0d 70 |etWeek".|end if.p|
|00001ed0| 75 74 20 73 61 76 65 4a | 6f 62 4e 75 6d 62 65 72 |ut saveJ|obNumber|
|00001ee0| 20 69 6e 74 6f 20 66 6c | 64 20 22 6a 6f 62 4e 75 | into fl|d "jobNu|
|00001ef0| 6d 62 65 72 22 0d 70 75 | 74 20 73 61 76 65 42 69 |mber".pu|t saveBi|
|00001f00| 6c 6c 69 6e 67 43 61 74 | 20 69 6e 74 6f 20 66 6c |llingCat| into fl|
|00001f10| 64 20 22 42 69 6c 6c 69 | 6e 67 43 61 74 22 0d 70 |d "Billi|ngCat".p|
|00001f20| 75 74 20 73 61 76 65 54 | 6f 74 61 6c 20 69 6e 74 |ut saveT|otal int|
|00001f30| 6f 20 66 6c 64 20 22 54 | 6f 74 61 6c 22 0d 70 75 |o fld "T|otal".pu|
|00001f40| 74 20 73 61 76 65 54 6f | 74 61 6c 42 69 6c 6c 48 |t saveTo|talBillH|
|00001f50| 6f 75 72 73 20 69 6e 74 | 6f 20 66 6c 64 20 22 54 |ours int|o fld "T|
|00001f60| 6f 74 61 6c 42 69 6c 6c | 48 6f 75 72 73 22 0d 70 |otalBill|Hours".p|
|00001f70| 75 74 20 73 61 76 65 54 | 6f 74 61 6c 48 6f 75 72 |ut saveT|otalHour|
|00001f80| 73 20 69 6e 74 6f 20 66 | 6c 64 20 22 54 6f 74 61 |s into f|ld "Tota|
|00001f90| 6c 48 6f 75 72 73 22 0d | 70 75 74 20 73 61 76 65 |lHours".|put save|
|00001fa0| 4f 76 65 72 54 69 6d 65 | 20 69 6e 74 6f 20 66 6c |OverTime| into fl|
|00001fb0| 64 20 22 4f 76 65 72 54 | 69 6d 65 22 0d 70 75 74 |d "OverT|ime".put|
|00001fc0| 20 73 61 76 65 54 6f 74 | 61 6c 4f 76 65 72 54 69 | saveTot|alOverTi|
|00001fd0| 6d 65 20 69 6e 74 6f 20 | 66 6c 64 20 22 54 6f 74 |me into |fld "Tot|
|00001fe0| 61 6c 4f 76 65 72 48 6f | 75 72 73 22 0d 70 75 74 |alOverHo|urs".put|
|00001ff0| 20 73 61 76 65 52 61 77 | 44 61 74 61 20 69 6e 74 | saveRaw|Data int|
|00002000| 6f 20 66 6c 64 20 22 52 | 61 77 44 61 74 61 22 0d |o fld "R|awData".|
|00002010| 70 75 74 20 73 61 76 65 | 43 6f 6d 6d 65 6e 74 73 |put save|Comments|
|00002020| 20 69 6e 74 6f 20 66 6c | 64 20 22 43 6f 6d 6d 65 | into fl|d "Comme|
|00002030| 6e 74 73 22 0d 70 75 74 | 20 65 6d 70 6c 6f 79 65 |nts".put| employe|
|00002040| 65 4e 75 6d 20 69 6e 74 | 6f 20 66 6c 64 20 22 54 |eNum int|o fld "T|
|00002050| 69 6d 65 53 68 65 65 74 | 4e 75 6d 22 0d 70 75 74 |imeSheet|Num".put|
|00002060| 20 65 6d 70 6c 6f 79 65 | 65 4e 61 6d 65 20 69 6e | employe|eName in|
|00002070| 74 6f 20 66 6c 64 20 22 | 54 69 6d 65 53 68 65 65 |to fld "|TimeShee|
|00002080| 74 4e 61 6d 65 22 0d 72 | 65 70 65 61 74 20 77 69 |tName".r|epeat wi|
|00002090| 74 68 20 79 20 3d 20 31 | 20 74 6f 20 37 0d 67 6f |th y = 1| to 7.go|
|000020a0| 20 74 6f 20 62 67 20 22 | 54 69 6d 65 53 68 65 65 | to bg "|TimeShee|
|000020b0| 74 22 20 6f 66 20 73 74 | 61 63 6b 20 22 54 69 6d |t" of st|ack "Tim|
|000020c0| 65 42 6f 6f 6b 22 20 26 | 26 20 76 65 72 73 69 6f |eBook" &|& versio|
|000020d0| 6e 4e 75 6d 62 65 72 0d | 70 75 74 20 77 68 61 74 |nNumber.|put what|
|000020e0| 61 44 61 79 28 79 29 20 | 69 6e 74 6f 20 73 61 76 |aDay(y) |into sav|
|000020f0| 65 44 61 79 0d 70 75 74 | 20 66 6c 64 20 73 61 76 |eDay.put| fld sav|
|00002100| 65 44 61 79 20 69 6e 74 | 6f 20 73 61 76 65 44 61 |eDay int|o saveDa|
|00002110| 79 48 6f 75 72 73 0d 70 | 75 74 20 73 61 76 65 44 |yHours.p|ut saveD|
|00002120| 61 79 20 26 20 22 42 69 | 6c 6c 48 6f 75 72 73 22 |ay & "Bi|llHours"|
|00002130| 20 69 6e 74 6f 20 67 65 | 74 42 69 6c 6c 48 6f 75 | into ge|tBillHou|
|00002140| 72 73 46 69 65 6c 64 0d | 70 75 74 20 66 6c 64 20 |rsField.|put fld |
|00002150| 67 65 74 42 69 6c 6c 48 | 6f 75 72 73 46 69 65 6c |getBillH|oursFiel|
|00002160| 64 20 69 6e 74 6f 20 73 | 61 76 65 42 69 6c 6c 48 |d into s|aveBillH|
|00002170| 6f 75 72 73 0d 70 75 74 | 20 73 61 76 65 44 61 79 |ours.put| saveDay|
|00002180| 20 26 20 22 48 6f 75 72 | 73 22 20 69 6e 74 6f 20 | & "Hour|s" into |
|00002190| 67 65 74 48 6f 75 72 73 | 46 69 65 6c 64 0d 70 75 |getHours|Field.pu|
|000021a0| 74 20 66 6c 64 20 67 65 | 74 48 6f 75 72 73 46 69 |t fld ge|tHoursFi|
|000021b0| 65 6c 64 20 69 6e 74 6f | 20 73 61 76 65 48 6f 75 |eld into| saveHou|
|000021c0| 72 73 0d 67 6f 20 74 6f | 20 63 64 20 74 68 69 73 |rs.go to| cd this|
|000021d0| 54 69 6d 65 53 68 65 65 | 74 20 6f 66 20 62 67 20 |TimeShee|t of bg |
|000021e0| 22 53 61 76 65 64 54 69 | 6d 65 53 68 65 65 74 73 |"SavedTi|meSheets|
|000021f0| 22 20 6f 66 20 73 74 61 | 63 6b 20 28 22 54 69 6d |" of sta|ck ("Tim|
|00002200| 65 46 69 6c 65 22 20 26 | 20 65 6d 70 6c 6f 79 65 |eFile" &| employe|
|00002210| 65 4e 75 6d 29 20 77 69 | 74 68 6f 75 74 20 64 69 |eNum) wi|thout di|
|00002220| 61 6c 6f 67 0d 69 66 20 | 74 68 65 20 72 65 73 75 |alog.if |the resu|
|00002230| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|00002240| 74 68 65 6e 0d 63 68 65 | 63 6b 4e 75 6d 20 65 6d |then.che|ckNum em|
|00002250| 70 6c 6f 79 65 65 4e 75 | 6d 2c 72 65 74 75 72 6e |ployeeNu|m,return|
|00002260| 54 6f 4d 65 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |ToMe.end| if.put |
|00002270| 73 61 76 65 44 61 79 48 | 6f 75 72 73 20 69 6e 74 |saveDayH|ours int|
|00002280| 6f 20 66 6c 64 20 73 61 | 76 65 44 61 79 0d 70 75 |o fld sa|veDay.pu|
|00002290| 74 20 73 61 76 65 42 69 | 6c 6c 48 6f 75 72 73 20 |t saveBi|llHours |
|000022a0| 69 6e 74 6f 20 66 6c 64 | 20 67 65 74 42 69 6c 6c |into fld| getBill|
|000022b0| 48 6f 75 72 73 46 69 65 | 6c 64 0d 70 75 74 20 73 |HoursFie|ld.put s|
|000022c0| 61 76 65 48 6f 75 72 73 | 20 69 6e 74 6f 20 66 6c |aveHours| into fl|
|000022d0| 64 20 67 65 74 48 6f 75 | 72 73 46 69 65 6c 64 0d |d getHou|rsField.|
|000022e0| 65 6e 64 20 72 65 70 65 | 61 74 0d 67 6f 20 74 6f |end repe|at.go to|
|000022f0| 20 62 67 20 22 44 61 79 | 52 65 63 6f 72 64 65 72 | bg "Day|Recorder|
|00002300| 22 20 6f 66 20 73 74 61 | 63 6b 20 22 54 69 6d 65 |" of sta|ck "Time|
|00002310| 42 6f 6f 6b 22 20 26 26 | 20 76 65 72 73 69 6f 6e |Book" &&| version|
|00002320| 4e 75 6d 62 65 72 0d 72 | 65 70 65 61 74 20 77 69 |Number.r|epeat wi|
|00002330| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |th x = 1| to (the|
|00002340| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 6f | number |of cds o|
|00002350| 66 20 74 68 69 73 20 62 | 67 29 0d 67 6f 20 74 6f |f this b|g).go to|
|00002360| 20 62 67 20 22 44 61 79 | 52 65 63 6f 72 64 65 72 | bg "Day|Recorder|
|00002370| 22 20 6f 66 20 73 74 61 | 63 6b 20 22 54 69 6d 65 |" of sta|ck "Time|
|00002380| 42 6f 6f 6b 22 20 26 26 | 20 76 65 72 73 69 6f 6e |Book" &&| version|
|00002390| 4e 75 6d 62 65 72 0d 67 | 6f 20 74 6f 20 63 64 20 |Number.g|o to cd |
|000023a0| 78 20 6f 66 20 74 68 69 | 73 20 62 67 0d 70 75 74 |x of thi|s bg.put|
|000023b0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 6f 74 61 | empty i|nto tota|
|000023c0| 6c 54 69 6d 65 48 6f 6c | 64 65 72 0d 69 66 20 66 |lTimeHol|der.if f|
|000023d0| 6c 64 20 69 64 20 32 20 | 69 73 20 6e 6f 74 20 65 |ld id 2 |is not e|
|000023e0| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 66 6c |mpty the|n.put fl|
|000023f0| 64 20 22 74 6f 74 61 6c | 43 6f 6d 70 61 72 65 54 |d "total|CompareT|
|00002400| 69 6d 65 22 20 69 6e 74 | 6f 20 66 69 65 6c 64 48 |ime" int|o fieldH|
|00002410| 6f 6c 64 65 72 0d 72 65 | 70 65 61 74 20 77 69 74 |older.re|peat wit|
|00002420| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|00002430| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00002440| 66 20 66 69 65 6c 64 48 | 6f 6c 64 65 72 0d 70 75 |f fieldH|older.pu|
|00002450| 74 20 69 74 65 6d 20 31 | 20 74 6f 20 33 20 6f 66 |t item 1| to 3 of|
|00002460| 20 6c 69 6e 65 20 78 20 | 6f 66 20 66 69 65 6c 64 | line x |of field|
|00002470| 48 6f 6c 64 65 72 20 26 | 20 72 65 74 75 72 6e 20 |Holder &| return |
|00002480| 61 66 74 65 72 20 74 6f | 74 61 6c 54 69 6d 65 48 |after to|talTimeH|
|00002490| 6f 6c 64 65 72 0d 65 6e | 64 20 72 65 70 65 61 74 |older.en|d repeat|
|000024a0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 66 6c 64 20 |.end if.|put fld |
|000024b0| 22 64 61 79 22 20 69 6e | 74 6f 20 64 61 74 65 48 |"day" in|to dateH|
|000024c0| 6f 6c 64 65 72 0d 70 75 | 74 20 22 54 69 6d 65 46 |older.pu|t "TimeF|
|000024d0| 69 6c 65 22 20 26 20 65 | 6d 70 6c 6f 79 65 65 4e |ile" & e|mployeeN|
|000024e0| 75 6d 20 69 6e 74 6f 20 | 74 68 69 73 53 74 61 63 |um into |thisStac|
|000024f0| 6b 4e 61 6d 65 0d 67 6f | 20 74 6f 20 73 74 61 63 |kName.go| to stac|
|00002500| 6b 20 74 68 69 73 53 74 | 61 63 6b 4e 61 6d 65 20 |k thisSt|ackName |
|00002510| 77 69 74 68 6f 75 74 20 | 64 69 61 6c 6f 67 0d 69 |without |dialog.i|
|00002520| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00002530| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 63 |not empt|y then.c|
|00002540| 68 65 63 6b 4e 75 6d 20 | 65 6d 70 6c 6f 79 65 65 |heckNum |employee|
|00002550| 4e 75 6d 2c 72 65 74 75 | 72 6e 54 6f 4d 65 0d 65 |Num,retu|rnToMe.e|
|00002560| 6e 64 20 69 66 0d 67 6f | 20 62 67 20 22 54 69 6d |nd if.go| bg "Tim|
|00002570| 65 53 61 76 65 72 22 0d | 70 75 74 20 69 74 65 6d |eSaver".|put item|
|00002580| 20 32 20 74 6f 20 33 20 | 6f 66 20 64 61 74 65 48 | 2 to 3 |of dateH|
|00002590| 6f 6c 64 65 72 20 26 20 | 22 2c 22 20 26 20 65 6d |older & |"," & em|
|000025a0| 70 6c 6f 79 65 65 4e 75 | 6d 20 69 6e 74 6f 20 61 |ployeeNu|m into a|
|000025b0| 72 74 43 61 72 64 0d 69 | 66 20 74 68 65 72 65 20 |rtCard.i|f there |
|000025c0| 69 73 20 61 20 63 64 20 | 61 72 74 43 61 72 64 20 |is a cd |artCard |
|000025d0| 6f 66 20 74 68 69 73 20 | 62 67 20 74 68 65 6e 0d |of this |bg then.|
|000025e0| 67 6f 20 74 6f 20 63 64 | 20 61 72 74 43 61 72 64 |go to cd| artCard|
|000025f0| 20 6f 66 20 74 68 69 73 | 20 62 67 0d 69 66 20 74 | of this| bg.if t|
|00002600| 6f 74 61 6c 54 69 6d 65 | 48 6f 6c 64 65 72 20 69 |otalTime|Holder i|
|00002610| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 74 |s empty |then.set|
|00002620| 20 74 68 65 20 63 61 6e | 74 44 65 6c 65 74 65 20 | the can|tDelete |
|00002630| 6f 66 20 74 68 69 73 20 | 63 64 20 74 6f 20 66 61 |of this |cd to fa|
|00002640| 6c 73 65 0d 64 6f 4d 65 | 6e 75 20 22 44 65 6c 65 |lse.doMe|nu "Dele|
|00002650| 74 65 20 43 61 72 64 22 | 0d 6e 65 78 74 20 72 65 |te Card"|.next re|
|00002660| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |peat.end| if.else|
|00002670| 0d 69 66 20 74 6f 74 61 | 6c 54 69 6d 65 48 6f 6c |.if tota|lTimeHol|
|00002680| 64 65 72 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |der is e|mpty the|
|00002690| 6e 20 6e 65 78 74 20 72 | 65 70 65 61 74 0d 64 6f |n next r|epeat.do|
|000026a0| 4d 65 6e 75 20 22 4e 65 | 77 20 43 61 72 64 22 0d |Menu "Ne|w Card".|
|000026b0| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|000026c0| 74 68 69 73 20 63 64 20 | 74 6f 20 61 72 74 43 61 |this cd |to artCa|
|000026d0| 72 64 0d 73 65 74 20 63 | 61 6e 74 44 65 6c 65 74 |rd.set c|antDelet|
|000026e0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 74 6f 20 |e of thi|s cd to |
|000026f0| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 63 6f 6e 76 |true.end| if.conv|
|00002700| 65 72 74 20 64 61 74 65 | 48 6f 6c 64 65 72 20 74 |ert date|Holder t|
|00002710| 6f 20 73 68 6f 72 74 20 | 64 61 74 65 0d 70 75 74 |o short |date.put|
|00002720| 20 64 61 74 65 48 6f 6c | 64 65 72 20 69 6e 74 6f | dateHol|der into|
|00002730| 20 6d 61 6b 65 53 65 63 | 6f 6e 64 73 0d 63 6f 6e | makeSec|onds.con|
|00002740| 76 65 72 74 20 6d 61 6b | 65 53 65 63 6f 6e 64 73 |vert mak|eSeconds|
|00002750| 20 74 6f 20 73 65 63 73 | 0d 70 75 74 20 64 61 74 | to secs|.put dat|
|00002760| 65 48 6f 6c 64 65 72 20 | 69 6e 74 6f 20 66 6c 64 |eHolder |into fld|
|00002770| 20 22 77 65 65 6b 44 61 | 79 44 61 74 65 22 0d 70 | "weekDa|yDate".p|
|00002780| 75 74 20 6d 61 6b 65 53 | 65 63 6f 6e 64 73 20 69 |ut makeS|econds i|
|00002790| 6e 74 6f 20 66 6c 64 20 | 22 77 65 65 6b 44 61 79 |nto fld |"weekDay|
|000027a0| 53 65 63 73 22 0d 70 75 | 74 20 74 6f 74 61 6c 54 |Secs".pu|t totalT|
|000027b0| 69 6d 65 48 6f 6c 64 65 | 72 20 69 6e 74 6f 20 66 |imeHolde|r into f|
|000027c0| 6c 64 20 22 77 65 65 6b | 44 61 79 54 6f 74 61 6c |ld "week|DayTotal|
|000027d0| 73 22 0d 70 75 74 20 65 | 6d 70 6c 6f 79 65 65 4e |s".put e|mployeeN|
|000027e0| 75 6d 20 69 6e 74 6f 20 | 66 6c 64 20 22 41 72 74 |um into |fld "Art|
|000027f0| 69 73 74 4e 75 6d 62 65 | 72 22 0d 70 75 74 20 65 |istNumbe|r".put e|
|00002800| 6d 70 6c 6f 79 65 65 4e | 61 6d 65 20 69 6e 74 6f |mployeeN|ame into|
|00002810| 20 66 6c 64 20 22 41 72 | 74 69 73 74 4e 61 6d 65 | fld "Ar|tistName|
|00002820| 22 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |".end re|peat.end|
|00002830| 20 73 74 61 6e 64 61 72 | 64 53 61 76 65 0d 0d 6f | standar|dSave..o|
|00002840| 6e 20 63 68 65 63 6b 4e | 75 6d 20 77 68 61 74 45 |n checkN|um whatE|
|00002850| 6d 70 0d 67 6c 6f 62 61 | 6c 20 72 65 74 75 72 6e |mp.globa|l return|
|00002860| 54 6f 4d 65 0d 61 6e 73 | 77 65 72 20 66 69 6c 65 |ToMe.ans|wer file|
|00002870| 20 22 57 68 65 72 65 20 | 69 73 20 73 74 61 63 6b | "Where |is stack|
|00002880| 20 54 69 6d 65 46 69 6c | 65 22 20 26 20 77 68 61 | TimeFil|e" & wha|
|00002890| 74 45 6d 70 0d 6c 6f 63 | 6b 20 6d 65 73 73 61 67 |tEmp.loc|k messag|
|000028a0| 65 73 0d 67 6f 20 73 74 | 61 63 6b 20 69 74 0d 69 |es.go st|ack it.i|
|000028b0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|000028c0| 6e 6f 74 20 65 6d 70 74 | 79 20 6f 72 20 69 74 20 |not empt|y or it |
|000028d0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 6e |is empty| then.an|
|000028e0| 73 77 65 72 20 22 55 6e | 61 62 6c 65 20 74 6f 20 |swer "Un|able to |
|000028f0| 75 70 64 61 74 65 20 54 | 69 6d 65 46 69 6c 65 20 |update T|imeFile |
|00002900| 73 74 61 63 6b 20 61 74 | 20 74 68 69 73 20 74 69 |stack at| this ti|
|00002910| 6d 65 2e 22 0d 63 6c 65 | 61 6e 55 70 0d 69 66 20 |me.".cle|anUp.if |
|00002920| 72 65 74 75 72 6e 54 6f | 4d 65 20 69 73 20 6e 6f |returnTo|Me is no|
|00002930| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 67 6f 20 |t empty |then go |
|00002940| 72 65 74 75 72 6e 54 6f | 4d 65 0d 65 78 69 74 20 |returnTo|Me.exit |
|00002950| 74 6f 20 68 79 70 65 72 | 43 61 72 64 0d 65 6e 64 |to hyper|Card.end|
|00002960| 20 69 66 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 | if.if t|he numbe|
|00002970| 72 20 6f 66 20 77 6f 72 | 64 73 20 6f 66 20 74 68 |r of wor|ds of th|
|00002980| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00002990| 74 68 69 73 20 73 74 61 | 63 6b 20 3e 31 20 74 68 |this sta|ck >1 th|
|000029a0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 54 68 65 20 54 |en.answe|r "The T|
|000029b0| 69 6d 65 46 69 6c 65 20 | 73 74 61 63 6b 20 69 73 |imeFile |stack is|
|000029c0| 20 69 6d 70 72 6f 70 65 | 72 6c 79 20 6e 61 6d 65 | imprope|rly name|
|000029d0| 64 2e 20 52 65 76 69 73 | 65 20 79 6f 75 72 20 54 |d. Revis|e your T|
|000029e0| 69 6d 65 46 69 6c 65 20 | 73 74 61 63 6b 20 6e 61 |imeFile |stack na|
|000029f0| 6d 65 20 22 20 26 c2 0d | 22 74 6f 20 54 69 6d 65 |me " &..|"to Time|
|00002a00| 46 69 6c 65 28 79 6f 75 | 72 20 65 6d 70 6c 6f 79 |File(you|r employ|
|00002a10| 65 65 20 6e 75 6d 62 65 | 72 29 20 77 69 74 68 20 |ee numbe|r) with |
|00002a20| 6e 6f 20 73 70 61 63 65 | 73 2e 20 28 69 2e 65 2e |no space|s. (i.e.|
|00002a30| 20 54 69 6d 65 46 69 6c | 65 30 31 2c 20 6e 6f 74 | TimeFil|e01, not|
|00002a40| 20 54 69 6d 65 46 69 6c | 65 20 30 31 29 22 0d 67 | TimeFil|e 01)".g|
|00002a50| 6f 4c 6f 67 69 63 0d 63 | 6c 65 61 6e 55 70 0d 65 |oLogic.c|leanUp.e|
|00002a60| 78 69 74 20 74 6f 20 68 | 79 70 65 72 43 61 72 64 |xit to h|yperCard|
|00002a70| 0d 65 6e 64 20 69 66 0d | 75 6e 6c 6f 63 6b 20 6d |.end if.|unlock m|
|00002a80| 65 73 73 61 67 65 73 0d | 65 6e 64 20 63 68 65 63 |essages.|end chec|
|00002a90| 6b 4e 75 6d 0d 0d 6f 6e | 20 6c 6f 67 69 63 4d 65 |kNum..on| logicMe|
|00002aa0| 6e 75 73 0d 67 6c 6f 62 | 61 6c 20 76 65 72 73 69 |nus.glob|al versi|
|00002ab0| 6f 6e 4e 75 6d 62 65 72 | 2c 70 72 6f 4d 65 6e 75 |onNumber|,proMenu|
|00002ac0| 73 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 72 65 |s.lock s|creen.re|
|00002ad0| 73 65 74 20 6d 65 6e 75 | 62 61 72 0d 69 66 20 74 |set menu|bar.if t|
|00002ae0| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|00002af0| 54 69 6d 65 42 6f 6f 6b | 22 20 74 68 65 6e 20 65 |TimeBook|" then e|
|00002b00| 78 69 74 20 6c 6f 67 69 | 63 4d 65 6e 75 73 0d 69 |xit logi|cMenus.i|
|00002b10| 66 20 70 72 6f 4d 65 6e | 75 73 20 69 73 20 66 61 |f proMen|us is fa|
|00002b20| 6c 73 65 20 74 68 65 6e | 20 6c 69 6d 69 74 65 64 |lse then| limited|
|00002b30| 4c 6f 67 69 63 4d 65 6e | 75 73 0d 63 72 65 61 74 |LogicMen|us.creat|
|00002b40| 65 20 6d 65 6e 75 20 22 | 54 69 6d 65 42 6f 6f 6b |e menu "|TimeBook|
|00002b50| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00002b60| 6d 65 6e 75 49 74 65 6d | 20 22 50 72 69 6e 74 20 |menuItem| "Print |
|00002b70| 43 61 72 64 22 20 6f 66 | 20 6d 65 6e 75 20 22 46 |Card" of| menu "F|
|00002b80| 69 6c 65 22 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |ile" the|n delete|
|00002b90| 20 6d 65 6e 75 49 74 65 | 6d 20 22 50 72 69 6e 74 | menuIte|m "Print|
|00002ba0| 20 43 61 72 64 22 20 6f | 66 20 6d 65 6e 75 20 22 | Card" o|f menu "|
|00002bb0| 46 69 6c 65 22 0d 70 75 | 74 20 6c 6f 67 69 63 4d |File".pu|t logicM|
|00002bc0| 65 6e 75 73 49 74 65 6d | 73 28 29 20 69 6e 74 6f |enusItem|s() into|
|00002bd0| 20 6d 65 6e 75 20 22 54 | 69 6d 65 42 6f 6f 6b 22 | menu "T|imeBook"|
|00002be0| 20 77 69 74 68 20 6d 65 | 6e 75 4d 73 67 20 6c 6f | with me|nuMsg lo|
|00002bf0| 67 69 63 4d 65 6e 75 73 | 4d 73 67 73 28 29 0d 73 |gicMenus|Msgs().s|
|00002c00| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 6d |et the n|ame of m|
|00002c10| 65 6e 75 49 74 65 6d 20 | 31 20 6f 66 20 6d 65 6e |enuItem |1 of men|
|00002c20| 75 20 22 41 70 70 6c 65 | 22 20 74 6f 20 22 41 62 |u "Apple|" to "Ab|
|00002c30| 6f 75 74 20 54 69 6d 65 | 42 6f 6f 6b 22 0d 70 75 |out Time|Book".pu|
|00002c40| 74 20 22 31 2c 32 2c 35 | 2c 36 2c 37 2c 31 30 2c |t "1,2,5|,6,7,10,|
|00002c50| 31 31 2c 31 39 2c 5c 2c | 5c 2c 4f 2c 5b 2c 5d 2c |11,19,\,|\,O,[,],|
|00002c60| 54 2c 53 2c 48 22 20 69 | 6e 74 6f 20 6c 6f 67 43 |T,S,H" i|nto logC|
|00002c70| 6f 6d 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |oms.repe|at with |
|00002c80| 78 20 3d 20 31 20 74 6f | 20 38 0d 73 65 74 20 63 |x = 1 to| 8.set c|
|00002c90| 6f 6d 6d 61 6e 64 43 68 | 61 72 20 6f 66 20 4d 65 |ommandCh|ar of Me|
|00002ca0| 6e 75 49 74 65 6d 20 28 | 69 74 65 6d 20 78 20 6f |nuItem (|item x o|
|00002cb0| 66 20 6c 6f 67 43 6f 6d | 73 29 20 6f 66 20 6d 65 |f logCom|s) of me|
|00002cc0| 6e 75 20 22 54 69 6d 65 | 42 6f 6f 6b 22 20 74 6f |nu "Time|Book" to|
|00002cd0| 20 28 69 74 65 6d 20 78 | 20 2b 20 38 20 6f 66 20 | (item x| + 8 of |
|00002ce0| 6c 6f 67 43 6f 6d 73 29 | 0d 65 6e 64 20 72 65 70 |logComs)|.end rep|
|00002cf0| 65 61 74 0d 69 66 20 74 | 68 65 20 73 68 6f 72 74 |eat.if t|he short|
|00002d00| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00002d10| 61 63 6b 20 69 73 20 22 | 54 69 6d 65 43 6c 6f 63 |ack is "|TimeCloc|
|00002d20| 6b 22 20 26 26 20 76 65 | 72 73 69 6f 6e 4e 75 6d |k" && ve|rsionNum|
|00002d30| 62 65 72 20 74 68 65 6e | 0d 6d 65 6e 75 43 6f 6e |ber then|.menuCon|
|00002d40| 74 72 6f 6c 50 75 6e 63 | 68 0d 65 6e 64 20 69 66 |trolPunc|h.end if|
|00002d50| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00002d60| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00002d70| 20 69 73 20 22 54 69 6d | 65 42 6f 6f 6b 22 20 26 | is "Tim|eBook" &|
|00002d80| 26 20 76 65 72 73 69 6f | 6e 4e 75 6d 62 65 72 20 |& versio|nNumber |
|00002d90| 74 68 65 6e 0d 6d 65 6e | 75 43 6f 6e 74 72 6f 6c |then.men|uControl|
|00002da0| 4c 6f 67 69 63 0d 65 6e | 64 20 69 66 0d 69 66 20 |Logic.en|d if.if |
|00002db0| 22 54 69 6d 65 46 69 6c | 65 22 20 69 73 20 69 6e |"TimeFil|e" is in|
|00002dc0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00002dd0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 74 68 |of this |stack th|
|00002de0| 65 6e 0d 6d 65 6e 75 43 | 6f 6e 74 72 6f 6c 54 69 |en.menuC|ontrolTi|
|00002df0| 6d 65 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |me.end i|f.unlock|
|00002e00| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 6c 6f 67 69 | screen.|end logi|
|00002e10| 63 4d 65 6e 75 73 0d 0d | 0d 6f 6e 20 6d 65 6e 75 |cMenus..|.on menu|
|00002e20| 43 6f 6e 74 72 6f 6c 50 | 75 6e 63 68 0d 70 75 74 |ControlP|unch.put|
|00002e30| 20 6d 65 6e 75 73 4f 6e | 4f 66 66 28 29 20 69 6e | menusOn|Off() in|
|00002e40| 74 6f 20 6f 6e 4f 66 66 | 73 0d 64 69 73 61 62 6c |to onOff|s.disabl|
|00002e50| 65 20 6d 65 6e 75 49 74 | 65 6d 20 28 69 74 65 6d |e menuIt|em (item|
|00002e60| 20 31 20 6f 66 20 6f 6e | 4f 66 66 73 29 20 6f 66 | 1 of on|Offs) of|
|00002e70| 20 6d 65 6e 75 20 22 54 | 69 6d 65 42 6f 6f 6b 22 | menu "T|imeBook"|
|00002e80| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|00002e90| 20 32 20 74 6f 20 38 0d | 65 6e 61 62 6c 65 20 6d | 2 to 8.|enable m|
|00002ea0| 65 6e 75 49 74 65 6d 20 | 28 69 74 65 6d 20 78 20 |enuItem |(item x |
|00002eb0| 6f 66 20 6f 6e 4f 66 66 | 73 29 20 6f 66 20 6d 65 |of onOff|s) of me|
|00002ec0| 6e 75 20 22 54 69 6d 65 | 42 6f 6f 6b 22 0d 65 6e |nu "Time|Book".en|
|00002ed0| 64 20 72 65 70 65 61 74 | 0d 64 69 73 61 62 6c 65 |d repeat|.disable|
|00002ee0| 20 6d 65 6e 75 49 74 65 | 6d 20 28 69 74 65 6d 20 | menuIte|m (item |
|00002ef0| 39 20 6f 66 20 6f 6e 4f | 66 66 73 29 20 6f 66 20 |9 of onO|ffs) of |
|00002f00| 6d 65 6e 75 20 22 54 69 | 6d 65 42 6f 6f 6b 22 0d |menu "Ti|meBook".|
|00002f10| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00002f20| 31 30 20 74 6f 20 31 31 | 0d 65 6e 61 62 6c 65 20 |10 to 11|.enable |
|00002f30| 6d 65 6e 75 49 74 65 6d | 20 28 69 74 65 6d 20 78 |menuItem| (item x|
|00002f40| 20 6f 66 20 6f 6e 4f 66 | 66 73 29 20 6f 66 20 6d | of onOf|fs) of m|
|00002f50| 65 6e 75 20 22 54 69 6d | 65 42 6f 6f 6b 22 0d 65 |enu "Tim|eBook".e|
|00002f60| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 6d 65 |nd repea|t.end me|
|00002f70| 6e 75 43 6f 6e 74 72 6f | 6c 50 75 6e 63 68 0d 0d |nuContro|lPunch..|
|00002f80| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 65 6e 75 73 4f |.functio|n menusO|
|00002f90| 6e 4f 66 66 0d 67 6c 6f | 62 61 6c 20 76 65 72 73 |nOff.glo|bal vers|
|00002fa0| 69 6f 6e 4e 75 6d 62 65 | 72 0d 72 65 74 75 72 6e |ionNumbe|r.return|
|00002fb0| 20 22 54 69 6d 65 43 6c | 6f 63 6b 22 20 26 26 20 | "TimeCl|ock" && |
|00002fc0| 76 65 72 73 69 6f 6e 4e | 75 6d 62 65 72 20 26 20 |versionN|umber & |
|00002fd0| 22 2c 54 69 6d 65 42 6f | 6f 6b 22 20 26 26 20 76 |",TimeBo|ok" && v|
|00002fe0| 65 72 73 69 6f 6e 4e 75 | 6d 62 65 72 20 26 20 22 |ersionNu|mber & "|
|00002ff0| 2c 4f 70 65 6e 20 4a 6f | 62 2c 53 74 61 72 74 20 |,Open Jo|b,Start |
|00003000| 43 6c 6f 63 6b 22 20 26 | c2 0d 22 2c 53 74 6f 70 |Clock" &|..",Stop|
|00003010| 20 43 6c 6f 63 6b 2c 43 | 61 6e 63 65 6c 20 4a 6f | Clock,C|ancel Jo|
|00003020| 62 2c 50 72 65 66 65 72 | 65 6e 63 65 73 2c 44 6f |b,Prefer|ences,Do|
|00003030| 20 54 69 6d 65 20 53 68 | 65 65 74 2c 53 61 76 65 | Time Sh|eet,Save|
|00003040| 2f 50 72 69 6e 74 2c 54 | 69 6d 65 46 69 6c 65 2c |/Print,T|imeFile,|
|00003050| 48 65 6c 70 22 0d 65 6e | 64 20 6d 65 6e 75 73 4f |Help".en|d menusO|
|00003060| 6e 4f 66 66 0d 0d 6f 6e | 20 6d 65 6e 75 43 6f 6e |nOff..on| menuCon|
|00003070| 74 72 6f 6c 4c 6f 67 69 | 63 0d 70 75 74 20 6d 65 |trolLogi|c.put me|
|00003080| 6e 75 73 4f 6e 4f 66 66 | 28 29 20 69 6e 74 6f 20 |nusOnOff|() into |
|00003090| 6f 6e 4f 66 66 73 0d 65 | 6e 61 62 6c 65 20 6d 65 |onOffs.e|nable me|
|000030a0| 6e 75 49 74 65 6d 20 28 | 69 74 65 6d 20 31 20 6f |nuItem (|item 1 o|
|000030b0| 66 20 6f 6e 4f 66 66 73 | 29 20 6f 66 20 6d 65 6e |f onOffs|) of men|
|000030c0| 75 20 22 54 69 6d 65 42 | 6f 6f 6b 22 0d 72 65 70 |u "TimeB|ook".rep|
|000030d0| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 32 20 74 |eat with| x = 2 t|
|000030e0| 6f 20 32 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |o 2.disa|ble menu|
|000030f0| 49 74 65 6d 20 28 69 74 | 65 6d 20 78 20 6f 66 20 |Item (it|em x of |
|00003100| 6f 6e 4f 66 66 73 29 20 | 6f 66 20 6d 65 6e 75 20 |onOffs) |of menu |
|00003110| 22 54 69 6d 65 42 6f 6f | 6b 22 0d 65 6e 64 20 72 |"TimeBoo|k".end r|
|00003120| 65 70 65 61 74 0d 65 6e | 61 62 6c 65 20 6d 65 6e |epeat.en|able men|
|00003130| 75 49 74 65 6d 20 28 69 | 74 65 6d 20 33 20 6f 66 |uItem (i|tem 3 of|
|00003140| 20 6f 6e 4f 66 66 73 29 | 20 6f 66 20 6d 65 6e 75 | onOffs)| of menu|
|00003150| 20 22 54 69 6d 65 42 6f | 6f 6b 22 0d 72 65 70 65 | "TimeBo|ok".repe|
|00003160| 61 74 20 77 69 74 68 20 | 78 20 3d 20 34 20 74 6f |at with |x = 4 to|
|00003170| 20 36 0d 64 69 73 61 62 | 6c 65 20 6d 65 6e 75 49 | 6.disab|le menuI|
|00003180| 74 65 6d 20 28 69 74 65 | 6d 20 78 20 6f 66 20 6f |tem (ite|m x of o|
|00003190| 6e 4f 66 66 73 29 20 6f | 66 20 6d 65 6e 75 20 22 |nOffs) o|f menu "|
|000031a0| 54 69 6d 65 42 6f 6f 6b | 22 0d 65 6e 64 20 72 65 |TimeBook|".end re|
|000031b0| 70 65 61 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |peat.rep|eat with|
|000031c0| 20 78 20 3d 20 37 20 74 | 6f 20 31 31 0d 65 6e 61 | x = 7 t|o 11.ena|
|000031d0| 62 6c 65 20 6d 65 6e 75 | 49 74 65 6d 20 28 69 74 |ble menu|Item (it|
|000031e0| 65 6d 20 78 20 6f 66 20 | 6f 6e 4f 66 66 73 29 20 |em x of |onOffs) |
|000031f0| 6f 66 20 6d 65 6e 75 20 | 22 54 69 6d 65 42 6f 6f |of menu |"TimeBoo|
|00003200| 6b 22 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |k".end r|epeat.if|
|00003210| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00003220| 20 22 47 6f 22 20 74 68 | 65 6e 20 64 69 73 61 62 | "Go" th|en disab|
|00003230| 6c 65 20 6d 65 6e 75 49 | 74 65 6d 20 22 52 65 63 |le menuI|tem "Rec|
|00003240| 65 6e 74 22 20 6f 66 20 | 6d 65 6e 75 20 22 47 6f |ent" of |menu "Go|
|00003250| 22 0d 65 6e 64 20 6d 65 | 6e 75 43 6f 6e 74 72 6f |".end me|nuContro|
|00003260| 6c 4c 6f 67 69 63 0d 0d | 6f 6e 20 6d 65 6e 75 43 |lLogic..|on menuC|
|00003270| 6f 6e 74 72 6f 6c 54 69 | 6d 65 0d 70 75 74 20 6d |ontrolTi|me.put m|
|00003280| 65 6e 75 73 4f 6e 4f 66 | 66 28 29 20 69 6e 74 6f |enusOnOf|f() into|
|00003290| 20 6f 6e 4f 66 66 73 0d | 72 65 70 65 61 74 20 77 | onOffs.|repeat w|
|000032a0| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 33 0d 65 |ith x = |1 to 3.e|
|000032b0| 6e 61 62 6c 65 20 6d 65 | 6e 75 49 74 65 6d 20 28 |nable me|nuItem (|
|000032c0| 69 74 65 6d 20 78 20 6f | 66 20 6f 6e 4f 66 66 73 |item x o|f onOffs|
|000032d0| 29 20 6f 66 20 6d 65 6e | 75 20 22 54 69 6d 65 42 |) of men|u "TimeB|
|000032e0| 6f 6f 6b 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ook".end| repeat.|
|000032f0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00003300| 34 20 74 6f 20 36 0d 64 | 69 73 61 62 6c 65 20 6d |4 to 6.d|isable m|
|00003310| 65 6e 75 49 74 65 6d 20 | 28 69 74 65 6d 20 78 20 |enuItem |(item x |
|00003320| 6f 66 20 6f 6e 4f 66 66 | 73 29 20 6f 66 20 6d 65 |of onOff|s) of me|
|00003330| 6e 75 20 22 54 69 6d 65 | 42 6f 6f 6b 22 0d 65 6e |nu "Time|Book".en|
|00003340| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat |
|00003350| 77 69 74 68 20 78 20 3d | 20 37 20 74 6f 20 38 0d |with x =| 7 to 8.|
|00003360| 65 6e 61 62 6c 65 20 6d | 65 6e 75 49 74 65 6d 20 |enable m|enuItem |
|00003370| 28 69 74 65 6d 20 78 20 | 6f 66 20 6f 6e 4f 66 66 |(item x |of onOff|
|00003380| 73 29 20 6f 66 20 6d 65 | 6e 75 20 22 54 69 6d 65 |s) of me|nu "Time|
|00003390| 42 6f 6f 6b 22 0d 65 6e | 64 20 72 65 70 65 61 74 |Book".en|d repeat|
|000033a0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|000033b0| 20 39 20 74 6f 20 31 30 | 0d 64 69 73 61 62 6c 65 | 9 to 10|.disable|
|000033c0| 20 6d 65 6e 75 49 74 65 | 6d 20 28 69 74 65 6d 20 | menuIte|m (item |
|000033d0| 78 20 6f 66 20 6f 6e 4f | 66 66 73 29 20 6f 66 20 |x of onO|ffs) of |
|000033e0| 6d 65 6e 75 20 22 54 69 | 6d 65 42 6f 6f 6b 22 0d |menu "Ti|meBook".|
|000033f0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 61 62 6c |end repe|at.enabl|
|00003400| 65 20 6d 65 6e 75 49 74 | 65 6d 20 28 69 74 65 6d |e menuIt|em (item|
|00003410| 20 31 31 20 6f 66 20 6f | 6e 4f 66 66 73 29 20 6f | 11 of o|nOffs) o|
|00003420| 66 20 6d 65 6e 75 20 22 | 54 69 6d 65 42 6f 6f 6b |f menu "|TimeBook|
|00003430| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00003440| 6d 65 6e 75 20 22 47 6f | 22 20 74 68 65 6e 20 64 |menu "Go|" then d|
|00003450| 69 73 61 62 6c 65 20 6d | 65 6e 75 49 74 65 6d 20 |isable m|enuItem |
|00003460| 22 52 65 63 65 6e 74 22 | 20 6f 66 20 6d 65 6e 75 |"Recent"| of menu|
|00003470| 20 22 47 6f 22 0d 65 6e | 64 20 6d 65 6e 75 43 6f | "Go".en|d menuCo|
|00003480| 6e 74 72 6f 6c 54 69 6d | 65 0d 0d 0d 6f 6e 20 6c |ntrolTim|e...on l|
|00003490| 69 6d 69 74 65 64 4c 6f | 67 69 63 4d 65 6e 75 73 |imitedLo|gicMenus|
|000034a0| 0d 70 75 74 20 6b 65 70 | 74 46 69 6c 65 28 29 20 |.put kep|tFile() |
|000034b0| 69 6e 74 6f 20 6d 65 6e | 75 20 22 46 69 6c 65 22 |into men|u "File"|
|000034c0| 0d 70 75 74 20 6b 65 70 | 74 45 64 69 74 28 29 20 |.put kep|tEdit() |
|000034d0| 69 6e 74 6f 20 6d 65 6e | 75 20 22 45 64 69 74 22 |into men|u "Edit"|
|000034e0| 0d 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 47 6f |.delete |menu "Go|
|000034f0| 22 0d 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 54 |".delete| menu "T|
|00003500| 6f 6f 6c 73 22 0d 64 65 | 6c 65 74 65 20 6d 65 6e |ools".de|lete men|
|00003510| 75 20 22 4f 62 6a 65 63 | 74 73 22 0d 64 65 6c 65 |u "Objec|ts".dele|
|00003520| 74 65 20 6d 65 6e 75 20 | 22 46 6f 6e 74 22 0d 64 |te menu |"Font".d|
|00003530| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 53 74 79 6c |elete me|nu "Styl|
|00003540| 65 22 0d 73 65 74 20 63 | 6f 6d 6d 61 6e 64 43 68 |e".set c|ommandCh|
|00003550| 61 72 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |ar of me|nuItem "|
|00003560| 51 75 69 74 20 48 79 70 | 65 72 43 61 72 64 22 20 |Quit Hyp|erCard" |
|00003570| 6f 66 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 20 74 |of menu |"File" t|
|00003580| 6f 20 22 51 22 0d 70 75 | 74 20 66 69 6c 65 43 6f |o "Q".pu|t fileCo|
|00003590| 6d 6d 61 6e 64 73 28 29 | 20 69 6e 74 6f 20 74 68 |mmands()| into th|
|000035a0| 65 46 69 6c 65 4b 65 79 | 73 0d 72 65 70 65 61 74 |eFileKey|s.repeat|
|000035b0| 20 77 69 74 68 20 78 20 | 3d 20 31 20 74 6f 20 28 | with x |= 1 to (|
|000035c0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |the numb|er of it|
|000035d0| 65 6d 73 20 6f 66 20 74 | 68 65 46 69 6c 65 4b 65 |ems of t|heFileKe|
|000035e0| 79 73 29 0d 73 65 74 20 | 63 6f 6d 6d 61 6e 64 43 |ys).set |commandC|
|000035f0| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|00003600| 78 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |x of men|u "Edit"|
|00003610| 20 74 6f 20 69 74 65 6d | 20 78 20 6f 66 20 74 68 | to item| x of th|
|00003620| 65 46 69 6c 65 4b 65 79 | 73 0d 65 6e 64 20 72 65 |eFileKey|s.end re|
|00003630| 70 65 61 74 0d 65 6e 64 | 20 6c 69 6d 69 74 65 64 |peat.end| limited|
|00003640| 4c 6f 67 69 63 4d 65 6e | 75 73 0d 0d 66 75 6e 63 |LogicMen|us..func|
|00003650| 74 69 6f 6e 20 6b 65 70 | 74 46 69 6c 65 0d 72 65 |tion kep|tFile.re|
|00003660| 74 75 72 6e 20 22 50 61 | 67 65 20 53 65 74 75 70 |turn "Pa|ge Setup|
|00003670| 2e 2e 2e 2c 50 72 69 6e | 74 20 52 65 70 6f 72 74 |...,Prin|t Report|
|00003680| 2e 2e 2e 2c 2d 2c 51 75 | 69 74 20 48 79 70 65 72 |...,-,Qu|it Hyper|
|00003690| 43 61 72 64 22 0d 65 6e | 64 20 6b 65 70 74 46 69 |Card".en|d keptFi|
|000036a0| 6c 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6b 65 70 |le..func|tion kep|
|000036b0| 74 45 64 69 74 0d 72 65 | 74 75 72 6e 20 22 43 75 |tEdit.re|turn "Cu|
|000036c0| 74 2c 43 6f 70 79 2c 50 | 61 73 74 65 2c 43 6c 65 |t,Copy,P|aste,Cle|
|000036d0| 61 72 22 0d 65 6e 64 20 | 6b 65 70 74 45 64 69 74 |ar".end |keptEdit|
|000036e0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 66 69 6c 65 43 |..functi|on fileC|
|000036f0| 6f 6d 6d 61 6e 64 73 0d | 72 65 74 75 72 6e 20 22 |ommands.|return "|
|00003700| 58 2c 43 2c 56 2c 2c 22 | 0d 65 6e 64 20 66 69 6c |X,C,V,,"|.end fil|
|00003710| 65 43 6f 6d 6d 61 6e 64 | 73 0d 0d 6f 6e 20 75 6e |eCommand|s..on un|
|00003720| 6c 6f 67 69 63 4d 65 6e | 75 73 0d 69 66 20 74 68 |logicMen|us.if th|
|00003730| 65 72 65 20 69 73 20 6e | 6f 74 20 61 20 6d 65 6e |ere is n|ot a men|
|00003740| 75 20 22 54 69 6d 65 42 | 6f 6f 6b 22 20 74 68 65 |u "TimeB|ook" the|
|00003750| 6e 20 65 78 69 74 20 75 | 6e 6c 6f 67 69 63 4d 65 |n exit u|nlogicMe|
|00003760| 6e 75 73 0d 65 6c 73 65 | 20 72 65 73 65 74 20 6d |nus.else| reset m|
|00003770| 65 6e 75 42 61 72 0d 65 | 6e 64 20 75 6e 6c 6f 67 |enuBar.e|nd unlog|
|00003780| 69 63 4d 65 6e 75 73 0d | 0d 66 75 6e 63 74 69 6f |icMenus.|.functio|
|00003790| 6e 20 6c 6f 67 69 63 4d | 65 6e 75 73 49 74 65 6d |n logicM|enusItem|
|000037a0| 73 0d 67 6c 6f 62 61 6c | 20 76 65 72 73 69 6f 6e |s.global| version|
|000037b0| 4e 75 6d 62 65 72 0d 72 | 65 74 75 72 6e 20 22 54 |Number.r|eturn "T|
|000037c0| 69 6d 65 42 6f 6f 6b 22 | 20 26 26 20 76 65 72 73 |imeBook"| && vers|
|000037d0| 69 6f 6e 4e 75 6d 62 65 | 72 20 26 20 22 2c 54 69 |ionNumbe|r & ",Ti|
|000037e0| 6d 65 43 6c 6f 63 6b 22 | 20 26 26 20 76 65 72 73 |meClock"| && vers|
|000037f0| 69 6f 6e 4e 75 6d 62 65 | 72 20 26 20 22 2c 54 69 |ionNumbe|r & ",Ti|
|00003800| 6d 65 46 69 6c 65 22 20 | 26 20 c2 0d 22 2c 2d 2c |meFile" |& ..",-,|
|00003810| 4f 70 65 6e 20 4a 6f 62 | 2c 53 74 61 72 74 20 43 |Open Job|,Start C|
|00003820| 6c 6f 63 6b 2c 53 74 6f | 70 20 43 6c 6f 63 6b 2c |lock,Sto|p Clock,|
|00003830| 43 61 6e 63 65 6c 20 4a | 6f 62 2c 2d 2c 44 6f 20 |Cancel J|ob,-,Do |
|00003840| 54 69 6d 65 20 53 68 65 | 65 74 2c 53 61 76 65 2f |Time She|et,Save/|
|00003850| 50 72 69 6e 74 2c 2d 2c | 45 64 69 74 20 4a 6f 62 |Print,-,|Edit Job|
|00003860| 73 2c 45 64 69 74 20 43 | 6c 69 65 6e 74 73 2c 45 |s,Edit C|lients,E|
|00003870| 64 69 74 20 42 69 6c 6c | 69 6e 67 20 43 61 74 65 |dit Bill|ing Cate|
|00003880| 67 6f 72 69 65 73 2c 45 | 64 69 74 20 43 6f 6d 6d |gories,E|dit Comm|
|00003890| 65 6e 74 73 22 20 26 20 | c2 0d 22 2c 2d 2c 50 72 |ents" & |..",-,Pr|
|000038a0| 65 66 65 72 65 6e 63 65 | 73 2c 48 65 6c 70 2c 2d |eference|s,Help,-|
|000038b0| 2c 46 69 78 20 49 74 2f | 52 65 73 65 74 22 0d 65 |,Fix It/|Reset".e|
|000038c0| 6e 64 20 6c 6f 67 69 63 | 4d 65 6e 75 73 49 74 65 |nd logic|MenusIte|
|000038d0| 6d 73 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6c 6f 67 |ms..func|tion log|
|000038e0| 69 63 4d 65 6e 75 73 4d | 73 67 73 0d 72 65 74 75 |icMenusM|sgs.retu|
|000038f0| 72 6e 20 22 67 6f 6c 6f | 67 69 63 2c 67 6f 50 75 |rn "golo|gic,goPu|
|00003900| 6e 63 68 2c 67 6f 54 69 | 6d 65 53 61 76 65 72 2c |nch,goTi|meSaver,|
|00003910| 2c 64 6f 4f 70 65 6e 2c | 64 6f 53 74 61 72 74 2c |,doOpen,|doStart,|
|00003920| 64 6f 53 74 6f 70 2c 63 | 61 6e 63 65 6c 4a 6f 62 |doStop,c|ancelJob|
|00003930| 2c 2c 64 6f 54 69 6d 65 | 2c 73 61 76 65 49 74 2c |,,doTime|,saveIt,|
|00003940| 2c 65 64 69 74 49 74 20 | 33 39 2c 65 64 69 74 49 |,editIt |39,editI|
|00003950| 74 20 34 34 2c 65 64 69 | 74 49 74 20 36 31 2c 63 |t 44,edi|tIt 61,c|
|00003960| 6f 6d 6d 65 6e 74 49 74 | 2c 2c 67 6f 50 72 65 66 |ommentIt|,,goPref|
|00003970| 73 2c 67 6f 53 68 6f 72 | 74 2c 2c 72 65 73 65 74 |s,goShor|t,,reset|
|00003980| 4d 65 22 0d 65 6e 64 20 | 6c 6f 67 69 63 4d 65 6e |Me".end |logicMen|
|00003990| 75 73 4d 73 67 73 0d 0d | 6f 6e 20 67 6f 6c 6f 67 |usMsgs..|on golog|
|000039a0| 69 63 0d 67 6c 6f 62 61 | 6c 20 76 65 72 73 69 6f |ic.globa|l versio|
|000039b0| 6e 4e 75 6d 62 65 72 0d | 6c 6f 63 6b 20 6d 65 73 |nNumber.|lock mes|
|000039c0| 73 61 67 65 73 0d 6c 6f | 63 6b 20 73 63 72 65 65 |sages.lo|ck scree|
|000039d0| 6e 0d 67 6f 20 73 74 61 | 63 6b 20 22 54 69 6d 65 |n.go sta|ck "Time|
|000039e0| 42 6f 6f 6b 22 20 26 26 | 20 76 65 72 73 69 6f 6e |Book" &&| version|
|000039f0| 4e 75 6d 62 65 72 0d 70 | 75 74 20 28 22 54 69 6d |Number.p|ut ("Tim|
|00003a00| 65 20 42 6f 6f 6b 22 20 | 26 26 20 74 68 65 20 73 |e Book" |&& the s|
|00003a10| 68 6f 72 74 20 64 61 74 | 65 29 20 69 6e 74 6f 20 |hort dat|e) into |
|00003a20| 74 68 69 73 43 64 0d 6d | 65 6e 75 43 6f 6e 74 72 |thisCd.m|enuContr|
|00003a30| 6f 6c 4c 6f 67 69 63 0d | 73 74 6f 70 4c 6f 67 69 |olLogic.|stopLogi|
|00003a40| 63 0d 73 74 61 72 74 50 | 75 6e 63 68 0d 75 6e 6c |c.startP|unch.unl|
|00003a50| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 67 6f 20 |ock mess|ages.go |
|00003a60| 63 64 20 74 68 69 73 43 | 64 20 6f 66 20 62 67 20 |cd thisC|d of bg |
|00003a70| 22 64 61 79 52 65 63 6f | 72 64 65 72 22 20 6f 66 |"dayReco|rder" of|
|00003a80| 20 73 74 61 63 6b 20 22 | 54 69 6d 65 42 6f 6f 6b | stack "|TimeBook|
|00003a90| 22 20 26 26 20 76 65 72 | 73 69 6f 6e 4e 75 6d 62 |" && ver|sionNumb|
|00003aa0| 65 72 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |er.if th|e result|
|00003ab0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00003ac0| 65 6e 0d 67 6f 20 74 6f | 20 62 67 20 22 64 61 79 |en.go to| bg "day|
|00003ad0| 52 65 63 6f 72 64 65 72 | 22 0d 65 6e 64 20 69 66 |Recorder|".end if|
|00003ae0| 0d 6f 70 65 6e 43 61 72 | 64 0d 75 6e 6c 6f 63 6b |.openCar|d.unlock|
|00003af0| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 67 6f 6c 6f | screen.|end golo|
|00003b00| 67 69 63 0d 0d 0d 6f 6e | 20 67 6f 50 75 6e 63 68 |gic...on| goPunch|
|00003b10| 0d 67 6c 6f 62 61 6c 20 | 76 65 72 73 69 6f 6e 4e |.global |versionN|
|00003b20| 75 6d 62 65 72 2c 70 75 | 6e 63 68 4c 6f 63 6b 4f |umber,pu|nchLockO|
|00003b30| 75 74 2c 72 65 74 75 72 | 6e 54 6f 4d 65 0d 69 66 |ut,retur|nToMe.if|
|00003b40| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00003b50| 6f 66 20 74 68 69 73 20 | 62 67 20 69 73 20 22 64 |of this |bg is "d|
|00003b60| 61 79 52 65 63 6f 72 64 | 65 72 22 20 74 68 65 6e |ayRecord|er" then|
|00003b70| 0d 63 68 65 63 6b 44 61 | 79 4c 69 73 74 20 28 66 |.checkDa|yList (f|
|00003b80| 6c 64 20 69 64 20 32 29 | 0d 65 6e 64 20 69 66 0d |ld id 2)|.end if.|
|00003b90| 69 66 20 70 75 6e 63 68 | 4c 6f 63 6b 4f 75 74 20 |if punch|LockOut |
|00003ba0| 69 73 20 74 72 75 65 20 | 74 68 65 6e 0d 61 6e 73 |is true |then.ans|
|00003bb0| 77 65 72 20 22 59 6f 75 | 20 6d 75 73 74 20 72 65 |wer "You| must re|
|00003bc0| 73 65 74 20 79 6f 75 72 | 20 74 69 6d 65 20 73 68 |set your| time sh|
|00003bd0| 65 65 74 20 62 65 66 6f | 72 65 20 65 78 69 74 69 |eet befo|re exiti|
|00003be0| 6e 67 20 54 69 6d 65 42 | 6f 6f 6b 2e 22 0d 65 78 |ng TimeB|ook.".ex|
|00003bf0| 69 74 20 67 6f 50 75 6e | 63 68 0d 65 6e 64 20 69 |it goPun|ch.end i|
|00003c00| 66 0d 69 66 20 76 65 72 | 73 69 6f 6e 4e 75 6d 62 |f.if ver|sionNumb|
|00003c10| 65 72 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |er is em|pty then|
|00003c20| 20 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 74 | put wor|d 2 of t|
|00003c30| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00003c40| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00003c50| 20 76 65 72 73 69 6f 6e | 4e 75 6d 62 65 72 0d 69 | version|Number.i|
|00003c60| 66 20 22 54 69 6d 65 43 | 6c 6f 63 6b 22 20 26 26 |f "TimeC|lock" &&|
|00003c70| 20 76 65 72 73 69 6f 6e | 4e 75 6d 62 65 72 20 69 | version|Number i|
|00003c80| 73 20 6e 6f 74 20 69 6e | 20 73 74 61 63 6b 73 49 |s not in| stacksI|
|00003c90| 6e 55 73 65 20 74 68 65 | 6e 0d 73 74 61 72 74 20 |nUse the|n.start |
|00003ca0| 75 73 69 6e 67 20 73 74 | 61 63 6b 20 22 54 69 6d |using st|ack "Tim|
|00003cb0| 65 43 6c 6f 63 6b 22 20 | 26 26 20 76 65 72 73 69 |eClock" |&& versi|
|00003cc0| 6f 6e 4e 75 6d 62 65 72 | 0d 65 6e 64 20 69 66 0d |onNumber|.end if.|
|00003cd0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00003ce0| 74 63 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tch.lock| screen.|
|00003cf0| 67 6f 20 73 74 61 63 6b | 20 22 54 69 6d 65 42 6f |go stack| "TimeBo|
|00003d00| 6f 6b 22 20 26 26 20 76 | 65 72 73 69 6f 6e 4e 75 |ok" && v|ersionNu|
|00003d10| 6d 62 65 72 0d 67 6f 20 | 63 64 20 28 22 54 69 6d |mber.go |cd ("Tim|
|00003d20| 65 20 42 6f 6f 6b 22 20 | 26 26 20 74 68 65 20 73 |e Book" |&& the s|
|00003d30| 68 6f 72 74 20 64 61 74 | 65 29 0d 69 66 20 74 68 |hort dat|e).if th|
|00003d40| 65 20 72 65 73 75 6c 74 | 20 69 73 20 65 6d 70 74 |e result| is empt|
|00003d50| 79 20 74 68 65 6e 0d 69 | 66 20 66 6c 64 20 22 72 |y then.i|f fld "r|
|00003d60| 65 63 6f 72 64 65 72 42 | 6f 6f 6b 4c 69 73 74 22 |ecorderB|ookList"|
|00003d70| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00003d80| 75 74 20 22 6e 6f 43 68 | 65 63 6b 22 20 69 6e 74 |ut "noCh|eck" int|
|00003d90| 6f 20 66 69 72 73 74 4a | 6f 62 0d 6c 6f 63 6b 20 |o firstJ|ob.lock |
|00003da0| 6d 65 73 73 61 67 65 73 | 0d 70 75 74 20 69 74 65 |messages|.put ite|
|00003db0| 6d 20 32 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |m 2 of t|he last |
|00003dc0| 6c 69 6e 65 20 6f 66 20 | 66 6c 64 20 22 72 65 63 |line of |fld "rec|
|00003dd0| 6f 72 64 65 72 42 6f 6f | 6b 4c 69 73 74 22 20 69 |orderBoo|kList" i|
|00003de0| 6e 74 6f 20 6c 61 73 74 | 45 6e 64 54 69 6d 65 0d |nto last|EndTime.|
|00003df0| 65 6c 73 65 20 70 75 74 | 20 65 6d 70 74 79 20 69 |else put| empty i|
|00003e00| 6e 74 6f 20 6c 61 73 74 | 45 6e 64 54 69 6d 65 0d |nto last|EndTime.|
|00003e10| 70 75 74 20 74 68 65 20 | 6c 6f 6e 67 20 64 61 74 |put the |long dat|
|00003e20| 65 20 69 6e 74 6f 20 74 | 72 69 61 6c 42 79 46 69 |e into t|rialByFi|
|00003e30| 72 65 0d 67 6f 20 74 6f | 20 73 74 61 63 6b 20 22 |re.go to| stack "|
|00003e40| 54 69 6d 65 43 6c 6f 63 | 6b 22 20 26 26 20 76 65 |TimeCloc|k" && ve|
|00003e50| 72 73 69 6f 6e 4e 75 6d | 62 65 72 0d 69 66 20 74 |rsionNum|ber.if t|
|00003e60| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00003e70| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 61 6e 73 77 | empty t|hen.answ|
|00003e80| 65 72 20 22 55 6e 61 62 | 6c 65 20 74 6f 20 67 6f |er "Unab|le to go|
|00003e90| 20 74 6f 20 27 54 69 6d | 65 43 6c 6f 63 6b 22 20 | to 'Tim|eClock" |
|00003ea0| 26 26 20 76 65 72 73 69 | 6f 6e 4e 75 6d 62 65 72 |&& versi|onNumber|
|00003eb0| 20 26 20 22 27 2e 22 0d | 65 78 69 74 20 67 6f 50 | & "'.".|exit goP|
|00003ec0| 75 6e 63 68 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |unch.end| if.put |
|00003ed0| 74 68 65 20 6c 6f 6e 67 | 20 6e 61 6d 65 20 6f 66 |the long| name of|
|00003ee0| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 72 65 | this cd| into re|
|00003ef0| 74 75 72 6e 54 6f 4d 65 | 0d 6d 65 6e 75 43 6f 6e |turnToMe|.menuCon|
|00003f00| 74 72 6f 6c 50 75 6e 63 | 68 0d 69 66 20 22 54 69 |trolPunc|h.if "Ti|
|00003f10| 6d 65 43 6c 6f 63 6b 22 | 20 69 73 20 6e 6f 74 20 |meClock"| is not |
|00003f20| 69 6e 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |in the s|hort nam|
|00003f30| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00003f40| 74 68 65 6e 0d 67 6f 20 | 74 6f 20 73 74 61 63 6b |then.go |to stack|
|00003f50| 20 22 54 69 6d 65 43 6c | 6f 63 6b 22 20 26 26 20 | "TimeCl|ock" && |
|00003f60| 76 65 72 73 69 6f 6e 4e | 75 6d 62 65 72 0d 65 6e |versionN|umber.en|
|00003f70| 64 20 69 66 0d 70 75 74 | 20 74 72 69 61 6c 42 79 |d if.put| trialBy|
|00003f80| 46 69 72 65 20 69 6e 74 | 6f 20 66 6c 64 20 22 44 |Fire int|o fld "D|
|00003f90| 61 74 65 48 6f 6c 64 65 | 72 22 0d 70 75 74 20 6c |ateHolde|r".put l|
|00003fa0| 61 73 74 45 6e 64 54 69 | 6d 65 20 69 6e 74 6f 20 |astEndTi|me into |
|00003fb0| 66 6c 64 20 22 50 72 65 | 76 45 6e 64 54 69 6d 65 |fld "Pre|vEndTime|
|00003fc0| 22 0d 69 66 20 66 69 72 | 73 74 4a 6f 62 20 69 73 |".if fir|stJob is|
|00003fd0| 20 22 66 69 72 73 74 4a | 6f 62 22 20 74 68 65 6e | "firstJ|ob" then|
|00003fe0| 0d 69 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 6c |.if line| 2 of fl|
|00003ff0| 64 20 22 4a 6f 62 49 6e | 66 6f 22 20 69 73 20 6e |d "JobIn|fo" is n|
|00004000| 6f 74 20 65 6d 70 74 79 | 20 61 6e 64 20 c2 0d 6c |ot empty| and ..l|
|00004010| 69 6e 65 20 32 20 6f 66 | 20 66 6c 64 20 22 4a 6f |ine 2 of| fld "Jo|
|00004020| 62 49 6e 66 6f 22 20 69 | 73 20 6e 6f 74 20 66 6c |bInfo" i|s not fl|
|00004030| 64 20 22 50 72 65 76 45 | 6e 64 54 69 6d 65 22 20 |d "PrevE|ndTime" |
|00004040| 61 6e 64 20 6c 69 6e 65 | 20 33 20 6f 66 20 66 6c |and line| 3 of fl|
|00004050| 64 20 22 4a 6f 62 49 6e | 66 6f 22 20 69 73 20 22 |d "JobIn|fo" is "|
|00004060| 4f 70 65 6e 22 20 74 68 | 65 6e 0d 69 66 20 6c 61 |Open" th|en.if la|
|00004070| 73 74 45 6e 64 54 69 6d | 65 20 69 73 20 6e 6f 74 |stEndTim|e is not|
|00004080| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00004090| 6c 61 73 74 45 6e 64 54 | 69 6d 65 20 69 6e 74 6f |lastEndT|ime into|
|000040a0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 66 6c 64 20 22 | line 2 |of fld "|
|000040b0| 4a 6f 62 49 6e 66 6f 22 | 0d 65 6c 73 65 0d 70 75 |JobInfo"|.else.pu|
|000040c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6c 69 6e |t empty |into lin|
|000040d0| 65 20 32 20 74 6f 20 34 | 20 6f 66 20 66 6c 64 20 |e 2 to 4| of fld |
|000040e0| 22 4a 6f 62 49 6e 66 6f | 22 0d 65 6e 64 20 69 66 |"JobInfo|".end if|
|000040f0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 75 |.end if.|end if.u|
|00004100| 6e 6c 6f 63 6b 20 6d 65 | 73 73 61 67 65 73 0d 75 |nlock me|ssages.u|
|00004110| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 74 6f |nlock sc|reen.sto|
|00004120| 70 50 75 6e 63 68 0d 73 | 74 61 72 74 4c 6f 67 69 |pPunch.s|tartLogi|
|00004130| 63 0d 73 65 6e 64 20 6d | 6f 75 73 65 55 70 20 74 |c.send m|ouseUp t|
|00004140| 6f 20 62 67 20 62 74 6e | 20 22 4a 6f 62 22 0d 65 |o bg btn| "Job".e|
|00004150| 6e 64 20 67 6f 50 75 6e | 63 68 0d 0d 0d 6f 6e 20 |nd goPun|ch...on |
|00004160| 67 6f 54 69 6d 65 53 61 | 76 65 72 0d 67 6c 6f 62 |goTimeSa|ver.glob|
|00004170| 61 6c 20 70 75 6e 63 68 | 4c 6f 63 6b 4f 75 74 2c |al punch|LockOut,|
|00004180| 76 65 72 73 69 6f 6e 4e | 75 6d 62 65 72 2c 72 65 |versionN|umber,re|
|00004190| 74 75 72 6e 54 6f 4d 65 | 0d 69 66 20 74 68 65 20 |turnToMe|.if the |
|000041a0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000041b0| 69 73 20 62 67 20 69 73 | 20 22 64 61 79 52 65 63 |is bg is| "dayRec|
|000041c0| 6f 72 64 65 72 22 20 74 | 68 65 6e 0d 63 68 65 63 |order" t|hen.chec|
|000041d0| 6b 44 61 79 4c 69 73 74 | 20 28 66 6c 64 20 69 64 |kDayList| (fld id|
|000041e0| 20 32 29 0d 65 6e 64 20 | 69 66 0d 69 66 20 70 75 | 2).end |if.if pu|
|000041f0| 6e 63 68 4c 6f 63 6b 4f | 75 74 20 69 73 20 74 72 |nchLockO|ut is tr|
|00004200| 75 65 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |ue then.|answer "|
|00004210| 50 6c 65 61 73 65 20 72 | 65 73 65 74 20 79 6f 75 |Please r|eset you|
|00004220| 72 20 74 69 6d 65 20 73 | 68 65 65 74 2e 20 53 65 |r time s|heet. Se|
|00004230| 6c 65 63 74 20 27 46 69 | 78 20 49 74 2f 52 65 73 |lect 'Fi|x It/Res|
|00004240| 65 74 27 20 69 6e 20 74 | 68 65 20 54 69 6d 65 42 |et' in t|he TimeB|
|00004250| 6f 6f 6b 20 6d 65 6e 75 | 2e 22 0d 65 78 69 74 20 |ook menu|.".exit |
|00004260| 67 6f 54 69 6d 65 53 61 | 76 65 72 0d 65 6e 64 20 |goTimeSa|ver.end |
|00004270| 69 66 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 6c |if.lock |screen.l|
|00004280| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 73 65 74 |ock mess|ages.set|
|00004290| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000042a0| 0d 67 6f 20 62 67 20 22 | 64 61 79 52 65 63 6f 72 |.go bg "|dayRecor|
|000042b0| 64 65 72 22 20 6f 66 20 | 73 74 61 63 6b 20 22 54 |der" of |stack "T|
|000042c0| 69 6d 65 42 6f 6f 6b 22 | 20 26 26 20 76 65 72 73 |imeBook"| && vers|
|000042d0| 69 6f 6e 4e 75 6d 62 65 | 72 0d 70 75 74 20 22 54 |ionNumbe|r.put "T|
|000042e0| 69 6d 65 46 69 6c 65 22 | 20 26 20 74 68 65 20 6c |imeFile"| & the l|
|000042f0| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 66 6c 64 20 |ast word| of fld |
|00004300| 22 65 6d 70 4e 61 6d 65 | 4e 75 6d 62 22 20 69 6e |"empName|Numb" in|
|00004310| 74 6f 20 67 6f 54 6f 54 | 68 69 73 53 74 61 63 6b |to goToT|hisStack|
|00004320| 0d 67 6f 20 74 6f 20 73 | 74 61 63 6b 20 67 6f 54 |.go to s|tack goT|
|00004330| 6f 54 68 69 73 53 74 61 | 63 6b 20 77 69 74 68 6f |oThisSta|ck witho|
|00004340| 75 74 20 64 69 61 6c 6f | 67 0d 69 66 20 74 68 65 |ut dialo|g.if the|
|00004350| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00004360| 6d 70 74 79 20 74 68 65 | 6e 0d 63 68 65 63 6b 4e |mpty the|n.checkN|
|00004370| 75 6d 20 28 74 68 65 20 | 6c 61 73 74 20 77 6f 72 |um (the |last wor|
|00004380| 64 20 6f 66 20 66 6c 64 | 20 22 65 6d 70 4e 61 6d |d of fld| "empNam|
|00004390| 65 4e 75 6d 62 22 29 2c | 72 65 74 75 72 6e 54 6f |eNumb"),|returnTo|
|000043a0| 4d 65 0d 65 6c 73 65 0d | 6d 65 6e 75 43 6f 6e 74 |Me.else.|menuCont|
|000043b0| 72 6f 6c 54 69 6d 65 0d | 73 74 6f 70 4c 6f 67 69 |rolTime.|stopLogi|
|000043c0| 63 0d 73 74 61 72 74 50 | 75 6e 63 68 0d 67 6f 20 |c.startP|unch.go |
|000043d0| 74 6f 20 6c 61 73 74 20 | 63 64 20 6f 66 20 62 67 |to last |cd of bg|
|000043e0| 20 22 53 61 76 65 64 54 | 69 6d 65 53 68 65 65 74 | "SavedT|imeSheet|
|000043f0| 73 22 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |s".end i|f.unlock|
|00004400| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|00004410| 75 61 6c 20 77 69 70 65 | 20 72 69 67 68 74 0d 65 |ual wipe| right.e|
|00004420| 6e 64 20 67 6f 54 69 6d | 65 53 61 76 65 72 0d 0d |nd goTim|eSaver..|
|00004430| 0d 6f 6e 20 64 6f 4f 70 | 65 6e 0d 69 66 20 22 54 |.on doOp|en.if "T|
|00004440| 69 6d 65 43 6c 6f 63 6b | 22 20 69 73 20 6e 6f 74 |imeClock|" is not|
|00004450| 20 69 6e 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | in the |short na|
|00004460| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00004470| 20 74 68 65 6e 20 67 6f | 50 75 6e 63 68 0d 75 6e | then go|Punch.un|
|00004480| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 6e 64 |lock scr|een.send|
|00004490| 20 6b 65 79 4a 6f 62 20 | 74 6f 20 74 68 69 73 20 | keyJob |to this |
|000044a0| 62 67 0d 65 6e 64 20 64 | 6f 4f 70 65 6e 0d 0d 6f |bg.end d|oOpen..o|
|000044b0| 6e 20 64 6f 53 74 61 72 | 74 0d 69 66 20 22 54 69 |n doStar|t.if "Ti|
|000044c0| 6d 65 43 6c 6f 63 6b 22 | 20 69 73 20 6e 6f 74 20 |meClock"| is not |
|000044d0| 69 6e 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |in the s|hort nam|
|000044e0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|000044f0| 74 68 65 6e 20 67 6f 50 | 75 6e 63 68 0d 75 6e 6c |then goP|unch.unl|
|00004500| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 73 65 6e 64 20 |ock scre|en.send |
|00004510| 6b 65 79 53 74 61 72 74 | 65 72 20 74 6f 20 74 68 |keyStart|er to th|
|00004520| 69 73 20 62 67 0d 65 6e | 64 20 64 6f 53 74 61 72 |is bg.en|d doStar|
|00004530| 74 0d 0d 6f 6e 20 64 6f | 53 74 6f 70 0d 69 66 20 |t..on do|Stop.if |
|00004540| 22 54 69 6d 65 43 6c 6f | 63 6b 22 20 69 73 20 6e |"TimeClo|ck" is n|
|00004550| 6f 74 20 69 6e 20 74 68 | 65 20 73 68 6f 72 74 20 |ot in th|e short |
|00004560| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00004570| 63 6b 20 74 68 65 6e 20 | 67 6f 50 75 6e 63 68 0d |ck then |goPunch.|
|00004580| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 65 |unlock s|creen.se|
|00004590| 6e 64 20 6b 65 79 45 6e | 64 65 72 20 74 6f 20 74 |nd keyEn|der to t|
|000045a0| 68 69 73 20 62 67 0d 65 | 6e 64 20 64 6f 53 74 6f |his bg.e|nd doSto|
|000045b0| 70 0d 0d 6f 6e 20 63 61 | 6e 63 65 6c 4a 6f 62 0d |p..on ca|ncelJob.|
|000045c0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|000045d0| 74 63 68 0d 73 74 61 72 | 74 54 68 65 4a 6f 62 20 |tch.star|tTheJob |
|000045e0| 64 6f 77 6e 0d 65 6e 64 | 20 63 61 6e 63 65 6c 4a |down.end| cancelJ|
|000045f0| 6f 62 0d 0d 6f 6e 20 73 | 74 61 72 74 54 68 65 4a |ob..on s|tartTheJ|
|00004600| 6f 62 20 74 68 65 4f 70 | 74 69 6f 6e 4b 65 79 0d |ob theOp|tionKey.|
|00004610| 67 6c 6f 62 61 6c 20 6f | 70 74 69 6f 6e 53 74 61 |global o|ptionSta|
|00004620| 72 74 2c 76 65 72 73 69 | 6f 6e 4e 75 6d 62 65 72 |rt,versi|onNumber|
|00004630| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00004640| 6f 66 20 66 6c 64 20 22 | 54 61 73 6b 73 46 69 65 |of fld "|TasksFie|
|00004650| 6c 64 22 20 74 68 65 6e | 0d 69 66 20 74 68 65 4f |ld" then|.if theO|
|00004660| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 64 6f 77 6e |ptionKey| is down|
|00004670| 20 74 68 65 6e 0d 6c 6f | 63 6b 20 73 63 72 65 65 | then.lo|ck scree|
|00004680| 6e 0d 63 6c 65 61 6e 55 | 70 0d 75 6e 6c 6f 63 6b |n.cleanU|p.unlock|
|00004690| 20 73 63 72 65 65 6e 0d | 65 6c 73 65 0d 65 78 69 | screen.|else.exi|
|000046a0| 74 20 73 74 61 72 74 54 | 68 65 4a 6f 62 0d 65 6e |t startT|heJob.en|
|000046b0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |d if.end| if.if t|
|000046c0| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|000046d0| 64 6f 77 6e 20 6f 72 20 | 74 68 65 4f 70 74 69 6f |down or |theOptio|
|000046e0| 6e 4b 65 79 20 69 73 20 | 22 44 6f 77 6e 22 20 74 |nKey is |"Down" t|
|000046f0| 68 65 6e 0d 69 66 20 6c | 69 6e 65 20 33 20 6f 66 |hen.if l|ine 3 of|
|00004700| 20 66 6c 64 20 22 4a 6f | 62 49 6e 66 6f 22 20 69 | fld "Jo|bInfo" i|
|00004710| 73 20 22 4f 70 65 6e 22 | 20 74 68 65 6e 0d 6c 6f |s "Open"| then.lo|
|00004720| 63 6b 20 73 63 72 65 65 | 6e 0d 6c 6f 63 6b 20 6d |ck scree|n.lock m|
|00004730| 65 73 73 61 67 65 73 0d | 70 75 73 68 20 63 64 0d |essages.|push cd.|
|00004740| 67 6f 20 73 74 61 63 6b | 20 22 54 69 6d 65 42 6f |go stack| "TimeBo|
|00004750| 6f 6b 22 20 26 26 20 76 | 65 72 73 69 6f 6e 4e 75 |ok" && v|ersionNu|
|00004760| 6d 62 65 72 0d 67 6f 20 | 63 64 20 22 54 69 6d 65 |mber.go |cd "Time|
|00004770| 20 42 6f 6f 6b 22 20 26 | 26 20 74 68 65 20 73 68 | Book" &|& the sh|
|00004780| 6f 72 74 20 64 61 74 65 | 0d 70 75 74 20 69 74 65 |ort date|.put ite|
|00004790| 6d 20 32 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |m 2 of t|he last |
|000047a0| 6c 69 6e 65 20 6f 66 20 | 66 6c 64 20 69 64 20 32 |line of |fld id 2|
|000047b0| 20 69 6e 74 6f 20 6f 70 | 74 69 6f 6e 53 74 61 72 | into op|tionStar|
|000047c0| 74 0d 70 6f 70 20 63 64 | 0d 75 6e 6c 6f 63 6b 20 |t.pop cd|.unlock |
|000047d0| 73 63 72 65 65 6e 0d 75 | 6e 6c 6f 63 6b 20 6d 65 |screen.u|nlock me|
|000047e0| 73 73 61 67 65 73 0d 65 | 6e 64 20 69 66 0d 70 75 |ssages.e|nd if.pu|
|000047f0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6c 69 6e |t empty |into lin|
|00004800| 65 20 31 20 74 6f 20 34 | 20 6f 66 20 66 6c 64 20 |e 1 to 4| of fld |
|00004810| 22 4a 6f 62 49 6e 66 6f | 22 0d 65 78 69 74 20 73 |"JobInfo|".exit s|
|00004820| 74 61 72 74 54 68 65 4a | 6f 62 0d 65 6e 64 20 69 |tartTheJ|ob.end i|
|00004830| 66 0d 73 65 74 20 68 69 | 67 68 6c 69 67 68 74 20 |f.set hi|ghlight |
|00004840| 6f 66 20 62 67 20 62 75 | 74 74 6f 6e 20 22 53 74 |of bg bu|tton "St|
|00004850| 61 72 74 22 20 74 6f 20 | 74 72 75 65 0d 69 66 20 |art" to |true.if |
|00004860| 6c 69 6e 65 20 33 20 6f | 66 20 66 6c 64 20 22 6a |line 3 o|f fld "j|
|00004870| 6f 62 49 6e 66 6f 22 20 | 69 73 20 22 4f 70 65 6e |obInfo" |is "Open|
|00004880| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 59 |" then.a|nswer "Y|
|00004890| 6f 75 20 61 6c 72 65 61 | 64 79 20 68 61 76 65 20 |ou alrea|dy have |
|000048a0| 61 20 6a 6f 62 20 73 74 | 61 72 74 65 64 2e 20 50 |a job st|arted. P|
|000048b0| 6c 65 61 73 65 20 73 74 | 6f 70 20 69 74 20 6f 72 |lease st|op it or|
|000048c0| 20 63 61 6e 63 65 6c 20 | 69 74 20 62 65 66 6f 72 | cancel |it befor|
|000048d0| 65 20 6f 70 65 6e 69 6e | 67 20 61 6e 6f 74 68 65 |e openin|g anothe|
|000048e0| 72 20 6a 6f 62 2e 20 4f | 70 74 69 6f 6e 2d 63 6c |r job. O|ption-cl|
|000048f0| 69 63 6b 22 20 26 20 c2 | 0d 22 20 6f 6e 20 74 68 |ick" & .|." on th|
|00004900| 65 20 73 74 61 72 74 20 | 6c 69 6e 65 20 74 6f 20 |e start |line to |
|00004910| 63 61 6e 63 65 6c 20 6f | 72 20 63 68 6f 6f 73 65 |cancel o|r choose|
|00004920| 20 d4 43 61 6e 63 65 6c | 20 4a 6f 62 d5 20 66 72 | .Cancel| Job. fr|
|00004930| 6f 6d 20 74 68 65 20 54 | 69 6d 65 42 6f 6f 6b 20 |om the T|imeBook |
|00004940| 6d 65 6e 75 2e 22 0d 65 | 78 69 74 53 74 61 72 74 |menu.".e|xitStart|
|00004950| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 69 6e 65 20 |.end if.|if line |
|00004960| 31 20 6f 66 20 66 6c 64 | 20 22 6a 6f 62 49 6e 66 |1 of fld| "jobInf|
|00004970| 6f 22 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |o" is em|pty then|
|00004980| 0d 2d 2d 20 6b 65 79 4a | 6f 62 0d 62 65 65 70 0d |.-- keyJ|ob.beep.|
|00004990| 61 6e 73 77 65 72 20 22 | 50 6c 65 61 73 65 20 6f |answer "|Please o|
|000049a0| 70 65 6e 20 61 20 6a 6f | 62 2e 22 0d 65 78 69 74 |pen a jo|b.".exit|
|000049b0| 53 74 61 72 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |Start.en|d if.if |
|000049c0| 6f 70 74 69 6f 6e 53 74 | 61 72 74 20 69 73 20 65 |optionSt|art is e|
|000049d0| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 66 6c |mpty the|n.put fl|
|000049e0| 64 20 22 50 72 65 76 45 | 6e 64 54 69 6d 65 22 20 |d "PrevE|ndTime" |
|000049f0| 69 6e 74 6f 20 6c 61 73 | 74 54 69 6d 65 0d 65 6c |into las|tTime.el|
|00004a00| 73 65 0d 70 75 74 20 6f | 70 74 69 6f 6e 53 74 61 |se.put o|ptionSta|
|00004a10| 72 74 20 69 6e 74 6f 20 | 6c 61 73 74 54 69 6d 65 |rt into |lastTime|
|00004a20| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 61 73 74 54 |.end if.|if lastT|
|00004a30| 69 6d 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ime is e|mpty the|
|00004a40| 6e 0d 70 75 74 20 22 45 | 6e 74 65 72 20 54 69 6d |n.put "E|nter Tim|
|00004a50| 65 22 20 69 6e 74 6f 20 | 70 69 63 6b 65 64 4a 6f |e" into |pickedJo|
|00004a60| 62 46 75 6c 6c 0d 65 6c | 73 65 0d 70 75 74 20 6c |bFull.el|se.put l|
|00004a70| 61 73 74 54 69 6d 65 20 | 26 20 72 65 74 75 72 6e |astTime |& return|
|00004a80| 20 26 20 22 45 6e 74 65 | 72 20 54 69 6d 65 22 20 | & "Ente|r Time" |
|00004a90| 69 6e 74 6f 20 70 69 63 | 6b 65 64 4a 6f 62 46 75 |into pic|kedJobFu|
|00004aa0| 6c 6c 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 69 74 |ll.end i|f.put it|
|00004ab0| 65 6d 20 31 20 6f 66 20 | 72 65 63 74 20 6f 66 20 |em 1 of |rect of |
|00004ac0| 74 68 65 20 74 61 72 67 | 65 74 20 2b 20 31 20 26 |the targ|et + 1 &|
|00004ad0| 20 22 2c 22 20 69 6e 74 | 6f 20 54 68 65 4d 65 6e | "," int|o TheMen|
|00004ae0| 75 4c 6f 63 0d 70 75 74 | 20 69 74 65 6d 20 32 20 |uLoc.put| item 2 |
|00004af0| 6f 66 20 72 65 63 74 20 | 6f 66 20 74 68 65 20 74 |of rect |of the t|
|00004b00| 61 72 67 65 74 20 2b 20 | 33 20 61 66 74 65 72 20 |arget + |3 after |
|00004b10| 54 68 65 4d 65 6e 75 4c | 6f 63 0d 70 75 74 20 70 |TheMenuL|oc.put p|
|00004b20| 6f 70 55 70 4d 65 6e 75 | 28 70 69 63 6b 65 64 4a |opUpMenu|(pickedJ|
|00004b30| 6f 62 46 75 6c 6c 2c 54 | 68 65 4d 65 6e 75 4c 6f |obFull,T|heMenuLo|
|00004b40| 63 2c 2c 22 47 65 6e 65 | 76 61 22 2c 22 39 22 29 |c,,"Gene|va","9")|
|00004b50| 20 69 6e 74 6f 20 70 69 | 63 6b 65 64 4a 6f 62 48 | into pi|ckedJobH|
|00004b60| 6f 6c 64 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |old.put |line 1 o|
|00004b70| 66 20 70 69 63 6b 65 64 | 4a 6f 62 48 6f 6c 64 20 |f picked|JobHold |
|00004b80| 69 6e 74 6f 20 63 6f 6e | 76 65 72 74 53 74 61 72 |into con|vertStar|
|00004b90| 74 0d 69 66 20 63 6f 6e | 76 65 72 74 53 74 61 72 |t.if con|vertStar|
|00004ba0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|00004bb0| 65 78 69 74 53 74 61 72 | 74 0d 65 6e 64 20 69 66 |exitStar|t.end if|
|00004bc0| 0d 69 66 20 63 6f 6e 76 | 65 72 74 53 74 61 72 74 |.if conv|ertStart|
|00004bd0| 20 69 73 20 22 45 6e 74 | 65 72 20 54 69 6d 65 22 | is "Ent|er Time"|
|00004be0| 20 74 68 65 6e 0d 69 66 | 20 6c 61 73 74 54 69 6d | then.if| lastTim|
|00004bf0| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |e is emp|ty then.|
|00004c00| 61 73 6b 20 22 57 68 61 | 74 20 74 69 6d 65 20 64 |ask "Wha|t time d|
|00004c10| 69 64 20 79 6f 75 20 73 | 74 61 72 74 20 74 68 65 |id you s|tart the|
|00004c20| 20 6a 6f 62 3f 22 20 77 | 69 74 68 20 74 68 65 20 | job?" w|ith the |
|00004c30| 73 68 6f 72 74 20 74 69 | 6d 65 0d 65 6c 73 65 0d |short ti|me.else.|
|00004c40| 61 73 6b 20 22 57 68 61 | 74 20 74 69 6d 65 20 64 |ask "Wha|t time d|
|00004c50| 69 64 20 79 6f 75 20 73 | 74 61 72 74 20 74 68 65 |id you s|tart the|
|00004c60| 20 6a 6f 62 3f 22 20 77 | 69 74 68 20 6c 61 73 74 | job?" w|ith last|
|00004c70| 54 69 6d 65 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |Time.end| if.if t|
|00004c80| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 43 61 |he resul|t is "Ca|
|00004c90| 6e 63 65 6c 22 20 6f 72 | 20 69 74 20 69 73 20 65 |ncel" or| it is e|
|00004ca0| 6d 70 74 79 20 74 68 65 | 6e 0d 65 78 69 74 53 74 |mpty the|n.exitSt|
|00004cb0| 61 72 74 0d 65 6e 64 20 | 69 66 0d 63 6f 6e 76 65 |art.end |if.conve|
|00004cc0| 72 74 20 69 74 20 74 6f | 20 73 68 6f 72 74 20 74 |rt it to| short t|
|00004cd0| 69 6d 65 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ime.if t|he resul|
|00004ce0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00004cf0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 4e 6f 74 20 |hen.answ|er "Not |
|00004d00| 61 20 76 61 6c 69 64 20 | 74 69 6d 65 2e 20 50 6c |a valid |time. Pl|
|00004d10| 65 61 73 65 20 72 65 2d | 65 6e 74 65 72 2e 22 0d |ease re-|enter.".|
|00004d20| 65 78 69 74 53 74 61 72 | 74 0d 65 6e 64 20 69 66 |exitStar|t.end if|
|00004d30| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 63 6f 6e |.put it |into con|
|00004d40| 76 65 72 74 53 74 61 72 | 74 0d 70 75 74 20 63 6f |vertStar|t.put co|
|00004d50| 6e 76 65 72 74 53 74 61 | 72 74 20 69 6e 74 6f 20 |nvertSta|rt into |
|00004d60| 74 65 73 74 53 74 61 72 | 74 0d 65 6e 64 20 69 66 |testStar|t.end if|
|00004d70| 0d 63 6f 6e 76 65 72 74 | 20 6c 61 73 74 54 69 6d |.convert| lastTim|
|00004d80| 65 20 74 6f 20 73 65 63 | 73 0d 63 6f 6e 76 65 72 |e to sec|s.conver|
|00004d90| 74 20 74 65 73 74 53 74 | 61 72 74 20 74 6f 20 73 |t testSt|art to s|
|00004da0| 65 63 73 0d 69 66 20 6c | 61 73 74 54 69 6d 65 20 |ecs.if l|astTime |
|00004db0| 3e 20 74 65 73 74 53 74 | 61 72 74 20 74 68 65 6e |> testSt|art then|
|00004dc0| 0d 61 6e 73 77 65 72 20 | 22 57 41 52 4e 49 4e 47 |.answer |"WARNING|
|00004dd0| 3a 20 54 68 69 73 20 73 | 74 61 72 74 20 74 69 6d |: This s|tart tim|
|00004de0| 65 20 69 73 20 65 61 72 | 6c 69 65 72 20 74 68 61 |e is ear|lier tha|
|00004df0| 6e 20 79 6f 75 72 20 6c | 61 73 74 20 65 6e 64 20 |n your l|ast end |
|00004e00| 74 69 6d 65 2e 22 20 77 | 69 74 68 20 22 4f 4b 22 |time." w|ith "OK"|
|00004e10| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|00004e20| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00004e30| 68 65 6e 0d 65 78 69 74 | 53 74 61 72 74 0d 65 6e |hen.exit|Start.en|
|00004e40| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |d if.end| if.put |
|00004e50| 65 6d 70 74 79 20 69 6e | 74 6f 20 6f 70 74 69 6f |empty in|to optio|
|00004e60| 6e 53 74 61 72 74 0d 70 | 75 74 20 63 6f 6e 76 65 |nStart.p|ut conve|
|00004e70| 72 74 53 74 61 72 74 20 | 69 6e 74 6f 20 6c 69 6e |rtStart |into lin|
|00004e80| 65 20 32 20 6f 66 20 66 | 6c 64 20 22 6a 6f 62 49 |e 2 of f|ld "jobI|
|00004e90| 6e 66 6f 22 0d 70 75 74 | 20 22 4f 70 65 6e 22 20 |nfo".put| "Open" |
|00004ea0| 69 6e 74 6f 20 6c 69 6e | 65 20 33 20 6f 66 20 66 |into lin|e 3 of f|
|00004eb0| 6c 64 20 22 6a 6f 62 49 | 6e 66 6f 22 0d 70 75 74 |ld "jobI|nfo".put|
|00004ec0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 6c 69 6e 65 | empty i|nto line|
|00004ed0| 20 34 20 6f 66 20 66 6c | 64 20 22 4a 6f 62 49 6e | 4 of fl|d "JobIn|
|00004ee0| 66 6f 22 0d 73 65 74 20 | 68 69 67 68 6c 69 67 68 |fo".set |highligh|
|00004ef0| 74 20 6f 66 20 62 67 20 | 62 75 74 74 6f 6e 20 22 |t of bg |button "|
|00004f00| 53 74 61 72 74 22 20 74 | 6f 20 66 61 6c 73 65 0d |Start" t|o false.|
|00004f10| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6f |put empt|y into o|
|00004f20| 70 74 69 6f 6e 53 74 61 | 72 74 0d 65 6e 64 20 73 |ptionSta|rt.end s|
|00004f30| 74 61 72 74 54 68 65 4a | 6f 62 0d 0d 6f 6e 20 65 |tartTheJ|ob..on e|
|00004f40| 78 69 74 53 74 61 72 74 | 0d 73 65 74 20 74 68 65 |xitStart|.set the|
|00004f50| 20 68 69 67 68 6c 69 67 | 68 74 20 6f 66 20 62 67 | highlig|ht of bg|
|00004f60| 20 62 74 6e 20 22 53 74 | 61 72 74 22 20 74 6f 20 | btn "St|art" to |
|00004f70| 66 61 6c 73 65 0d 65 78 | 69 74 20 74 6f 20 68 79 |false.ex|it to hy|
|00004f80| 70 65 72 43 61 72 64 0d | 65 6e 64 20 65 78 69 74 |perCard.|end exit|
|00004f90| 53 74 61 72 74 0d 0d 6f | 6e 20 73 61 76 65 49 74 |Start..o|n saveIt|
|00004fa0| 0d 67 6f 4c 6f 67 69 63 | 0d 67 6f 20 74 6f 20 62 |.goLogic|.go to b|
|00004fb0| 67 20 22 74 69 6d 65 53 | 68 65 65 74 22 0d 73 65 |g "timeS|heet".se|
|00004fc0| 6e 64 20 6d 6f 75 73 65 | 55 70 20 74 6f 20 62 67 |nd mouse|Up to bg|
|00004fd0| 20 62 74 6e 20 69 64 20 | 36 30 0d 65 6e 64 20 73 | btn id |60.end s|
|00004fe0| 61 76 65 49 74 0d 0d 6f | 6e 20 63 6f 6d 6d 65 6e |aveIt..o|n commen|
|00004ff0| 74 49 74 20 70 61 73 73 | 65 64 49 74 0d 67 6c 6f |tIt pass|edIt.glo|
|00005000| 62 61 6c 20 76 65 72 73 | 69 6f 6e 4e 75 6d 62 65 |bal vers|ionNumbe|
|00005010| 72 0d 70 75 73 68 20 63 | 64 0d 6c 6f 63 6b 20 6d |r.push c|d.lock m|
|00005020| 65 73 73 61 67 65 73 0d | 6c 6f 63 6b 20 73 63 72 |essages.|lock scr|
|00005030| 65 65 6e 0d 67 6f 20 73 | 74 61 63 6b 20 22 54 69 |een.go s|tack "Ti|
|00005040| 6d 65 43 6c 6f 63 6b 22 | 20 26 26 20 76 65 72 73 |meClock"| && vers|
|00005050| 69 6f 6e 4e 75 6d 62 65 | 72 0d 69 66 20 70 61 73 |ionNumbe|r.if pas|
|00005060| 73 65 64 49 74 20 69 73 | 20 65 6d 70 74 79 20 74 |sedIt is| empty t|
|00005070| 68 65 6e 0d 67 65 74 20 | 73 68 6f 77 4c 69 73 74 |hen.get |showList|
|00005080| 28 66 6c 64 20 22 43 6f | 6d 6d 65 6e 74 73 22 2c |(fld "Co|mments",|
|00005090| 22 45 64 69 74 20 63 6f | 6d 6d 65 6e 74 73 22 2c |"Edit co|mments",|
|000050a0| 74 72 75 65 2c 74 72 75 | 65 2c 22 4e 65 77 2c 44 |true,tru|e,"New,D|
|000050b0| 6f 6e 65 2c 44 65 6c 65 | 74 65 2c 52 65 76 69 73 |one,Dele|te,Revis|
|000050c0| 65 22 2c 31 29 0d 65 6c | 73 65 0d 70 75 74 20 70 |e",1).el|se.put p|
|000050d0| 61 73 73 65 64 49 74 20 | 69 6e 74 6f 20 69 74 0d |assedIt |into it.|
|000050e0| 65 6e 64 20 69 66 0d 69 | 66 20 6c 69 6e 65 20 31 |end if.i|f line 1|
|000050f0| 20 6f 66 20 69 74 20 69 | 73 20 22 44 65 6c 65 74 | of it i|s "Delet|
|00005100| 65 22 20 74 68 65 6e 0d | 70 75 74 20 28 74 68 65 |e" then.|put (the|
|00005110| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00005120| 20 6f 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 | of line| 2 of it|
|00005130| 29 20 69 6e 74 6f 20 74 | 6f 74 61 6c 49 74 65 6d |) into t|otalItem|
|00005140| 73 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |s.repeat| with x |
|00005150| 3d 20 31 20 74 6f 20 74 | 6f 74 61 6c 49 74 65 6d |= 1 to t|otalItem|
|00005160| 73 0d 64 65 6c 65 74 65 | 20 6c 69 6e 65 20 28 69 |s.delete| line (i|
|00005170| 74 65 6d 20 74 6f 74 61 | 6c 49 74 65 6d 73 20 2d |tem tota|lItems -|
|00005180| 20 28 78 20 2d 31 29 20 | 6f 66 20 6c 69 6e 65 20 | (x -1) |of line |
|00005190| 32 20 6f 66 20 69 74 29 | 20 6f 66 20 66 6c 64 20 |2 of it)| of fld |
|000051a0| 22 43 6f 6d 6d 65 6e 74 | 73 22 0d 65 6e 64 20 72 |"Comment|s".end r|
|000051b0| 65 70 65 61 74 0d 63 6f | 6d 6d 65 6e 74 49 74 0d |epeat.co|mmentIt.|
|000051c0| 65 6e 64 20 69 66 0d 69 | 66 20 6c 69 6e 65 20 31 |end if.i|f line 1|
|000051d0| 20 6f 66 20 69 74 20 69 | 73 20 22 4e 65 77 22 20 | of it i|s "New" |
|000051e0| 74 68 65 6e 0d 61 73 6b | 20 22 45 6e 74 65 72 20 |then.ask| "Enter |
|000051f0| 6e 65 77 20 63 6f 6d 6d | 65 6e 74 2e 22 0d 69 66 |new comm|ent.".if|
|00005200| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 63 | the res|ult is c|
|00005210| 61 6e 63 65 6c 20 74 68 | 65 6e 0d 70 6f 70 20 63 |ancel th|en.pop c|
|00005220| 64 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 43 |d.exit t|o HyperC|
|00005230| 61 72 64 0d 65 6e 64 20 | 69 66 0d 72 65 70 65 61 |ard.end |if.repea|
|00005240| 74 20 77 69 74 68 20 78 | 20 3d 20 31 20 74 6f 20 |t with x| = 1 to |
|00005250| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 |(the num|ber of c|
|00005260| 68 61 72 73 20 6f 66 20 | 69 74 29 0d 69 66 20 63 |hars of |it).if c|
|00005270| 68 61 72 20 78 20 6f 66 | 20 69 74 20 69 73 20 22 |har x of| it is "|
|00005280| 2c 22 20 74 68 65 6e 20 | 70 75 74 20 22 2f 22 20 |," then |put "/" |
|00005290| 69 6e 74 6f 20 63 68 61 | 72 20 78 20 6f 66 20 69 |into cha|r x of i|
|000052a0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |t.end re|peat.put|
|000052b0| 20 69 74 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 | it & re|turn aft|
|000052c0| 65 72 20 66 6c 64 20 22 | 43 6f 6d 6d 65 6e 74 73 |er fld "|Comments|
|000052d0| 22 0d 69 66 20 70 61 73 | 73 65 64 49 74 20 69 73 |".if pas|sedIt is|
|000052e0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 63 6f 6d 6d | empty t|hen comm|
|000052f0| 65 6e 74 49 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |entIt.en|d if.if |
|00005300| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 73 20 |line 1 o|f it is |
|00005310| 22 52 65 76 69 73 65 22 | 20 74 68 65 6e 0d 70 75 |"Revise"| then.pu|
|00005320| 74 20 69 74 20 69 6e 74 | 6f 20 74 68 69 73 4c 69 |t it int|o thisLi|
|00005330| 6e 65 0d 61 73 6b 20 22 | 52 65 76 69 73 65 20 74 |ne.ask "|Revise t|
|00005340| 68 69 73 20 63 6f 6d 6d | 65 6e 74 2e 22 20 77 69 |his comm|ent." wi|
|00005350| 74 68 20 6c 69 6e 65 20 | 28 6c 69 6e 65 20 32 20 |th line |(line 2 |
|00005360| 6f 66 20 69 74 29 20 6f | 66 20 66 6c 64 20 22 43 |of it) o|f fld "C|
|00005370| 6f 6d 6d 65 6e 74 73 22 | 0d 69 66 20 74 68 65 20 |omments"|.if the |
|00005380| 72 65 73 75 6c 74 20 69 | 73 20 63 61 6e 63 65 6c |result i|s cancel|
|00005390| 20 74 68 65 6e 0d 70 6f | 70 20 63 64 0d 65 78 69 | then.po|p cd.exi|
|000053a0| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|000053b0| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 77 69 74 |nd if.re|peat wit|
|000053c0| 68 20 78 20 3d 20 31 20 | 74 6f 20 28 74 68 65 20 |h x = 1 |to (the |
|000053d0| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars |
|000053e0| 6f 66 20 69 74 29 0d 69 | 66 20 63 68 61 72 20 78 |of it).i|f char x|
|000053f0| 20 6f 66 20 69 74 20 69 | 73 20 22 2c 22 20 74 68 | of it i|s "," th|
|00005400| 65 6e 20 70 75 74 20 22 | 2f 22 20 69 6e 74 6f 20 |en put "|/" into |
|00005410| 63 68 61 72 20 78 20 6f | 66 20 69 74 0d 65 6e 64 |char x o|f it.end|
|00005420| 20 72 65 70 65 61 74 0d | 70 75 74 20 69 74 20 69 | repeat.|put it i|
|00005430| 6e 74 6f 20 6c 69 6e 65 | 20 28 6c 69 6e 65 20 32 |nto line| (line 2|
|00005440| 20 6f 66 20 74 68 69 73 | 4c 69 6e 65 29 20 6f 66 | of this|Line) of|
|00005450| 20 66 6c 64 20 22 43 6f | 6d 6d 65 6e 74 73 22 0d | fld "Co|mments".|
|00005460| 63 6f 6d 6d 65 6e 74 49 | 74 0d 65 6e 64 20 69 66 |commentI|t.end if|
|00005470| 0d 70 6f 70 20 63 64 0d | 65 6e 64 20 63 6f 6d 6d |.pop cd.|end comm|
|00005480| 65 6e 74 49 74 0d 0d 0d | 6f 6e 20 45 64 69 74 49 |entIt...|on EditI|
|00005490| 74 20 74 68 65 49 64 2c | 77 68 61 74 4f 70 74 69 |t theId,|whatOpti|
|000054a0| 6f 6e 0d 67 6c 6f 62 61 | 6c 20 76 65 72 73 69 6f |on.globa|l versio|
|000054b0| 6e 4e 75 6d 62 65 72 0d | 6c 6f 63 6b 20 6d 65 73 |nNumber.|lock mes|
|000054c0| 73 61 67 65 73 0d 6c 6f | 63 6b 20 73 63 72 65 65 |sages.lo|ck scree|
|000054d0| 6e 0d 70 75 73 68 20 63 | 64 0d 67 6f 20 73 74 61 |n.push c|d.go sta|
|000054e0| 63 6b 20 22 54 69 6d 65 | 43 6c 6f 63 6b 22 20 26 |ck "Time|Clock" &|
|000054f0| 26 20 76 65 72 73 69 6f | 6e 4e 75 6d 62 65 72 0d |& versio|nNumber.|
|00005500| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00005510| 6d 65 20 6f 66 20 66 6c | 64 20 69 64 20 74 68 65 |me of fl|d id the|
|00005520| 49 64 20 69 6e 74 6f 20 | 74 68 65 4e 61 6d 65 0d |Id into |theName.|
|00005530| 69 66 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |if the v|isible o|
|00005540| 66 20 66 6c 64 20 69 64 | 20 33 39 20 6f 72 20 74 |f fld id| 39 or t|
|00005550| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 66 6c |he visib|le of fl|
|00005560| 64 20 69 64 20 34 34 20 | 6f 72 20 74 68 65 20 76 |d id 44 |or the v|
|00005570| 69 73 69 62 6c 65 20 6f | 66 20 66 6c 64 20 69 64 |isible o|f fld id|
|00005580| 20 36 31 20 74 68 65 6e | 0d 72 65 70 65 61 74 20 | 61 then|.repeat |
|00005590| 77 69 74 68 20 78 20 3d | 20 31 33 20 74 6f 20 31 |with x =| 13 to 1|
|000055a0| 35 0d 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 4d |5.set th|e checkM|
|000055b0| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|000055c0| 78 20 6f 66 20 6d 65 6e | 75 20 22 54 69 6d 65 42 |x of men|u "TimeB|
|000055d0| 6f 6f 6b 22 20 74 6f 20 | 66 61 6c 73 65 0d 73 65 |ook" to |false.se|
|000055e0| 74 20 74 68 65 20 68 69 | 67 68 6c 69 67 68 74 20 |t the hi|ghlight |
|000055f0| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 28 78 20 |of bg bt|n id (x |
|00005600| 2b 20 35 34 29 20 74 6f | 20 66 61 6c 73 65 0d 65 |+ 54) to| false.e|
|00005610| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 74 68 65 |nd repea|t.if the|
|00005620| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 66 6c 64 20 | visible| of fld |
|00005630| 69 64 20 33 39 20 74 68 | 65 6e 0d 73 65 74 20 74 |id 39 th|en.set t|
|00005640| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 66 6c |he visib|le of fl|
|00005650| 64 20 69 64 20 33 39 20 | 74 6f 20 66 61 6c 73 65 |d id 39 |to false|
|00005660| 0d 69 66 20 74 68 65 49 | 64 20 69 73 20 33 39 20 |.if theI|d is 39 |
|00005670| 74 68 65 6e 20 70 75 74 | 20 74 72 75 65 20 69 6e |then put| true in|
|00005680| 74 6f 20 65 78 69 74 49 | 74 0d 65 6e 64 20 69 66 |to exitI|t.end if|
|00005690| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|000056a0| 6f 66 20 66 6c 64 20 69 | 64 20 34 34 20 74 68 65 |of fld i|d 44 the|
|000056b0| 6e 0d 73 65 74 20 74 68 | 65 20 76 69 73 69 62 6c |n.set th|e visibl|
|000056c0| 65 20 6f 66 20 66 6c 64 | 20 69 64 20 34 34 20 74 |e of fld| id 44 t|
|000056d0| 6f 20 66 61 6c 73 65 0d | 69 66 20 74 68 65 49 64 |o false.|if theId|
|000056e0| 20 69 73 20 34 34 20 74 | 68 65 6e 20 70 75 74 20 | is 44 t|hen put |
|000056f0| 74 72 75 65 20 69 6e 74 | 6f 20 65 78 69 74 49 74 |true int|o exitIt|
|00005700| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 20 76 |.end if.|if the v|
|00005710| 69 73 69 62 6c 65 20 6f | 66 20 66 6c 64 20 69 64 |isible o|f fld id|
|00005720| 20 36 31 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 | 61 then|.set the|
|00005730| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 66 6c 64 20 | visible| of fld |
|00005740| 69 64 20 36 31 20 74 6f | 20 66 61 6c 73 65 0d 69 |id 61 to| false.i|
|00005750| 66 20 74 68 65 49 64 20 | 69 73 20 36 31 20 74 68 |f theId |is 61 th|
|00005760| 65 6e 20 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en put t|rue into|
|00005770| 20 65 78 69 74 49 74 0d | 65 6e 64 20 69 66 0d 69 | exitIt.|end if.i|
|00005780| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 4b 65 79 20 |f the op|tionKey |
|00005790| 69 73 20 6e 6f 74 20 64 | 6f 77 6e 20 61 6e 64 20 |is not d|own and |
|000057a0| 65 78 69 74 49 74 20 69 | 73 20 74 72 75 65 20 74 |exitIt i|s true t|
|000057b0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 68 69 67 68 |hen.set |the high|
|000057c0| 6c 69 67 68 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |light of| bg btn |
|000057d0| 69 64 20 36 39 20 74 6f | 20 66 61 6c 73 65 0d 73 |id 69 to| false.s|
|000057e0| 65 74 20 74 68 65 20 68 | 69 67 68 6c 69 67 68 74 |et the h|ighlight|
|000057f0| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 64 20 36 38 | of bg b|tn id 68|
|00005800| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|00005810| 65 20 68 69 67 68 6c 69 | 67 68 74 20 6f 66 20 62 |e highli|ght of b|
|00005820| 67 20 62 74 6e 20 69 64 | 20 36 37 20 74 6f 20 66 |g btn id| 67 to f|
|00005830| 61 6c 73 65 0d 65 78 69 | 74 20 65 64 69 74 49 74 |alse.exi|t editIt|
|00005840| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00005850| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 4b 65 79 20 |f the op|tionKey |
|00005860| 69 73 20 64 6f 77 6e 20 | 6f 72 20 77 68 61 74 4f |is down |or whatO|
|00005870| 70 74 69 6f 6e 20 69 73 | 20 22 64 6f 77 6e 22 20 |ption is| "down" |
|00005880| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 76 69 73 |then.set| the vis|
|00005890| 69 62 6c 65 20 6f 66 20 | 66 6c 64 20 74 68 65 4e |ible of |fld theN|
|000058a0| 61 6d 65 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ame to t|rue.set |
|000058b0| 74 68 65 20 68 69 67 68 | 6c 69 67 68 74 20 6f 66 |the high|light of|
|000058c0| 20 62 67 20 62 74 6e 20 | 28 74 68 65 4e 61 6d 65 | bg btn |(theName|
|000058d0| 20 26 20 22 4c 69 73 74 | 22 29 20 74 6f 20 74 72 | & "List|") to tr|
|000058e0| 75 65 0d 73 65 74 20 74 | 68 65 20 63 68 65 63 6b |ue.set t|he check|
|000058f0| 4d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Mark of |menuItem|
|00005900| 20 28 22 45 64 69 74 20 | 22 20 26 20 74 68 65 4e | ("Edit |" & theN|
|00005910| 61 6d 65 29 20 6f 66 20 | 6d 65 6e 75 20 22 54 69 |ame) of |menu "Ti|
|00005920| 6d 65 42 6f 6f 6b 22 20 | 74 6f 20 74 72 75 65 0d |meBook" |to true.|
|00005930| 65 78 69 74 20 65 64 69 | 74 49 74 0d 65 6e 64 20 |exit edi|tIt.end |
|00005940| 69 66 0d 67 65 74 20 73 | 68 6f 77 4c 69 73 74 28 |if.get s|howList(|
|00005950| 66 6c 64 20 69 64 20 74 | 68 65 49 64 2c 22 45 64 |fld id t|heId,"Ed|
|00005960| 69 74 22 20 26 26 20 74 | 68 65 4e 61 6d 65 2c 74 |it" && t|heName,t|
|00005970| 72 75 65 2c 74 72 75 65 | 2c 22 4e 65 77 2c 44 6f |rue,true|,"New,Do|
|00005980| 6e 65 2c 44 65 6c 65 74 | 65 2c 52 65 76 69 73 65 |ne,Delet|e,Revise|
|00005990| 22 2c 31 29 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |",1).if |line 1 o|
|000059a0| 66 20 69 74 20 69 73 20 | 22 44 65 6c 65 74 65 22 |f it is |"Delete"|
|000059b0| 20 74 68 65 6e 0d 70 75 | 74 20 28 74 68 65 20 6e | then.pu|t (the n|
|000059c0| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|000059d0| 66 20 6c 69 6e 65 20 32 | 20 6f 66 20 69 74 29 20 |f line 2| of it) |
|000059e0| 69 6e 74 6f 20 74 6f 74 | 61 6c 49 74 65 6d 73 0d |into tot|alItems.|
|000059f0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00005a00| 31 20 74 6f 20 74 6f 74 | 61 6c 49 74 65 6d 73 0d |1 to tot|alItems.|
|00005a10| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 28 69 74 65 |delete l|ine (ite|
|00005a20| 6d 20 74 6f 74 61 6c 49 | 74 65 6d 73 20 2d 20 28 |m totalI|tems - (|
|00005a30| 78 20 2d 31 29 20 6f 66 | 20 6c 69 6e 65 20 32 20 |x -1) of| line 2 |
|00005a40| 6f 66 20 69 74 29 20 6f | 66 20 66 6c 64 20 69 64 |of it) o|f fld id|
|00005a50| 20 74 68 65 49 64 0d 65 | 6e 64 20 72 65 70 65 61 | theId.e|nd repea|
|00005a60| 74 0d 45 64 69 74 49 74 | 20 74 68 65 49 64 0d 65 |t.EditIt| theId.e|
|00005a70| 6e 64 20 69 66 0d 69 66 | 20 6c 69 6e 65 20 31 20 |nd if.if| line 1 |
|00005a80| 6f 66 20 69 74 20 69 73 | 20 22 52 65 76 69 73 65 |of it is| "Revise|
|00005a90| 22 20 74 68 65 6e 0d 70 | 75 74 20 69 74 20 69 6e |" then.p|ut it in|
|00005aa0| 74 6f 20 74 68 69 73 4c | 69 6e 65 0d 61 73 6b 20 |to thisL|ine.ask |
|00005ab0| 22 52 65 76 69 73 65 20 | 74 68 69 73 20 65 6e 74 |"Revise |this ent|
|00005ac0| 72 79 c9 22 20 77 69 74 | 68 20 6c 69 6e 65 20 28 |ry." wit|h line (|
|00005ad0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 29 20 6f 66 |line 2 o|f it) of|
|00005ae0| 20 66 6c 64 20 69 64 20 | 74 68 65 49 64 0d 69 66 | fld id |theId.if|
|00005af0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 63 | the res|ult is c|
|00005b00| 61 6e 63 65 6c 20 74 68 | 65 6e 0d 70 6f 70 20 63 |ancel th|en.pop c|
|00005b10| 64 0d 65 78 69 74 20 65 | 64 69 74 49 74 0d 65 6e |d.exit e|ditIt.en|
|00005b20| 64 20 69 66 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |d if.put| it into|
|00005b30| 20 6c 69 6e 65 20 28 6c | 69 6e 65 20 32 20 6f 66 | line (l|ine 2 of|
|00005b40| 20 74 68 69 73 4c 69 6e | 65 29 20 6f 66 20 66 6c | thisLin|e) of fl|
|00005b50| 64 20 69 64 20 74 68 65 | 49 64 0d 73 6f 72 74 20 |d id the|Id.sort |
|00005b60| 66 6c 64 20 69 64 20 74 | 68 65 49 64 0d 63 68 65 |fld id t|heId.che|
|00005b70| 63 6b 4c 69 73 74 20 74 | 68 65 49 64 0d 45 64 69 |ckList t|heId.Edi|
|00005b80| 74 49 74 20 74 68 65 49 | 64 0d 65 6e 64 20 69 66 |tIt theI|d.end if|
|00005b90| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |.if line| 1 of it|
|00005ba0| 20 69 73 20 22 4e 65 77 | 22 20 74 68 65 6e 0d 69 | is "New|" then.i|
|00005bb0| 66 20 74 68 65 49 64 20 | 69 73 20 33 39 20 74 68 |f theId |is 39 th|
|00005bc0| 65 6e 20 73 65 6e 64 20 | 6b 65 79 4e 65 77 4a 6f |en send |keyNewJo|
|00005bd0| 62 20 74 6f 20 62 67 20 | 69 64 20 32 38 31 30 0d |b to bg |id 2810.|
|00005be0| 69 66 20 74 68 65 49 64 | 20 69 73 20 34 34 20 74 |if theId| is 44 t|
|00005bf0| 68 65 6e 0d 61 73 6b 20 | 22 45 6e 74 65 72 20 6e |hen.ask |"Enter n|
|00005c00| 65 77 20 63 6c 69 65 6e | 74 20 6e 61 6d 65 20 61 |ew clien|t name a|
|00005c10| 6e 64 20 6e 75 6d 62 65 | 72 2e 2e 2e 20 69 6e 20 |nd numbe|r... in |
|00005c20| 74 68 61 74 20 6f 72 64 | 65 72 2e 22 0d 69 66 20 |that ord|er.".if |
|00005c30| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 22 43 |the resu|lt is "C|
|00005c40| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00005c50| 20 65 64 69 74 49 74 0d | 70 75 74 20 69 74 20 26 | editIt.|put it &|
|00005c60| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 66 6c | return |after fl|
|00005c70| 64 20 69 64 20 34 34 0d | 65 6e 64 20 69 66 0d 69 |d id 44.|end if.i|
|00005c80| 66 20 74 68 65 49 64 20 | 69 73 20 36 31 20 74 68 |f theId |is 61 th|
|00005c90| 65 6e 0d 61 73 6b 20 22 | 45 6e 74 65 72 20 6e 65 |en.ask "|Enter ne|
|00005ca0| 77 20 62 69 6c 6c 69 6e | 67 20 63 61 74 65 67 6f |w billin|g catego|
|00005cb0| 72 79 20 63 6f 64 65 20 | 61 6e 64 20 6e 61 6d 65 |ry code |and name|
|00005cc0| 2e 2e 2e 20 69 6e 20 74 | 68 61 74 20 6f 72 64 65 |... in t|hat orde|
|00005cd0| 72 2e 22 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |r.".if t|he resul|
|00005ce0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00005cf0| 65 6e 20 65 78 69 74 20 | 65 64 69 74 49 74 0d 70 |en exit |editIt.p|
|00005d00| 75 74 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 61 |ut it & |return a|
|00005d10| 66 74 65 72 20 66 6c 64 | 20 69 64 20 36 31 0d 65 |fter fld| id 61.e|
|00005d20| 6e 64 20 69 66 0d 73 6f | 72 74 20 66 6c 64 20 69 |nd if.so|rt fld i|
|00005d30| 64 20 74 68 65 49 64 0d | 63 68 65 63 6b 4c 69 73 |d theId.|checkLis|
|00005d40| 74 20 74 68 65 49 64 0d | 45 64 69 74 49 74 20 74 |t theId.|EditIt t|
|00005d50| 68 65 49 64 0d 65 6e 64 | 20 69 66 0d 70 6f 70 20 |heId.end| if.pop |
|00005d60| 63 64 0d 65 6e 64 20 45 | 64 69 74 49 74 0d 0d 0d |cd.end E|ditIt...|
|00005d70| 6f 6e 20 64 6f 54 69 6d | 65 0d 67 6f 4c 6f 67 69 |on doTim|e.goLogi|
|00005d80| 63 0d 73 65 6e 64 20 6d | 6f 75 73 65 55 70 20 74 |c.send m|ouseUp t|
|00005d90| 6f 20 62 67 20 62 74 6e | 20 69 64 20 35 37 0d 65 |o bg btn| id 57.e|
|00005da0| 6e 64 20 64 6f 54 69 6d | 65 0d 0d 6f 6e 20 67 6f |nd doTim|e..on go|
|00005db0| 54 69 6d 65 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Time.loc|k screen|
|00005dc0| 0d 67 6f 4c 6f 67 69 63 | 0d 67 6f 20 74 6f 20 62 |.goLogic|.go to b|
|00005dd0| 67 20 69 64 20 37 38 34 | 31 0d 75 6e 6c 6f 63 6b |g id 784|1.unlock|
|00005de0| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 67 6f 54 69 | screen.|end goTi|
|00005df0| 6d 65 0d 0d 6f 6e 20 67 | 6f 53 68 6f 72 74 0d 67 |me..on g|oShort.g|
|00005e00| 6c 6f 62 61 6c 20 72 65 | 74 75 72 6e 41 66 74 65 |lobal re|turnAfte|
|00005e10| 72 48 65 6c 70 0d 69 66 | 20 74 68 65 20 73 68 6f |rHelp.if| the sho|
|00005e20| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005e30| 62 67 20 69 73 20 22 64 | 61 79 52 65 63 6f 72 64 |bg is "d|ayRecord|
|00005e40| 65 72 22 20 74 68 65 6e | 0d 63 68 65 63 6b 44 61 |er" then|.checkDa|
|00005e50| 79 4c 69 73 74 20 28 66 | 6c 64 20 69 64 20 32 29 |yList (f|ld id 2)|
|00005e60| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 74 68 65 20 |.end if.|put the |
|00005e70| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|00005e80| 73 20 63 64 20 69 6e 74 | 6f 20 72 65 74 75 72 6e |s cd int|o return|
|00005e90| 41 66 74 65 72 48 65 6c | 70 0d 6c 6f 63 6b 20 73 |AfterHel|p.lock s|
|00005ea0| 63 72 65 65 6e 0d 67 6f | 4c 6f 67 69 63 0d 67 6f |creen.go|Logic.go|
|00005eb0| 20 74 6f 20 62 67 20 69 | 64 20 31 31 39 31 33 0d | to bg i|d 11913.|
|00005ec0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|00005ed0| 74 68 20 76 69 73 75 61 | 6c 20 62 61 72 6e 20 64 |th visua|l barn d|
|00005ee0| 6f 6f 72 20 6f 70 65 6e | 0d 65 6e 64 20 67 6f 53 |oor open|.end goS|
|00005ef0| 68 6f 72 74 0d 0d 6f 6e | 20 67 6f 50 72 65 66 73 |hort..on| goPrefs|
|00005f00| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00005f10| 6d 65 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 73 |me of th|is bg is|
|00005f20| 20 22 64 61 79 52 65 63 | 6f 72 64 65 72 22 20 74 | "dayRec|order" t|
|00005f30| 68 65 6e 0d 63 68 65 63 | 6b 44 61 79 4c 69 73 74 |hen.chec|kDayList|
|00005f40| 20 28 66 6c 64 20 69 64 | 20 32 29 0d 65 6e 64 20 | (fld id| 2).end |
|00005f50| 69 66 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |if.lock |screen.g|
|00005f60| 6f 4c 6f 67 69 63 0d 67 | 6f 20 74 6f 20 63 64 20 |oLogic.g|o to cd |
|00005f70| 69 64 20 35 39 36 34 0d | 75 6e 6c 6f 63 6b 20 73 |id 5964.|unlock s|
|00005f80| 63 72 65 65 6e 20 77 69 | 74 68 20 76 69 73 75 61 |creen wi|th visua|
|00005f90| 6c 20 62 61 72 6e 20 64 | 6f 6f 72 20 6f 70 65 6e |l barn d|oor open|
|00005fa0| 0d 65 6e 64 20 67 6f 50 | 72 65 66 73 0d 0d 6f 6e |.end goP|refs..on|
|00005fb0| 20 63 68 65 63 6b 4c 69 | 73 74 20 77 68 61 74 49 | checkLi|st whatI|
|00005fc0| 64 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |d.repeat| with x |
|00005fd0| 3d 20 31 20 74 6f 20 28 | 74 68 65 20 6e 75 6d 62 |= 1 to (|the numb|
|00005fe0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 66 |er of li|nes of f|
|00005ff0| 6c 64 20 69 64 20 77 68 | 61 74 49 64 29 0d 69 66 |ld id wh|atId).if|
|00006000| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6c 64 20 69 | line 1 |of fld i|
|00006010| 64 20 77 68 61 74 49 64 | 20 69 73 20 6e 6f 74 20 |d whatId| is not |
|00006020| 65 6d 70 74 79 20 74 68 | 65 6e 0d 65 78 69 74 20 |empty th|en.exit |
|00006030| 63 68 65 63 6b 4c 69 73 | 74 0d 65 6e 64 20 69 66 |checkLis|t.end if|
|00006040| 0d 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 31 20 6f |.delete |line 1 o|
|00006050| 66 20 66 6c 64 20 69 64 | 20 77 68 61 74 49 64 0d |f fld id| whatId.|
|00006060| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 63 |end repe|at.end c|
|00006070| 68 65 63 6b 4c 69 73 74 | 0d 0d 0d 6f 6e 20 73 68 |heckList|...on sh|
|00006080| 6f 72 74 43 61 6c 63 75 | 6c 61 74 65 54 69 6d 65 |ortCalcu|lateTime|
|00006090| 53 68 65 65 74 0d 67 6f | 4c 6f 67 69 63 0d 70 75 |Sheet.go|Logic.pu|
|000060a0| 74 20 73 6f 72 74 52 69 | 67 68 74 28 66 6c 64 20 |t sortRi|ght(fld |
|000060b0| 22 72 65 63 6f 72 64 65 | 72 42 6f 6f 6b 4c 69 73 |"recorde|rBookLis|
|000060c0| 74 22 29 20 69 6e 74 6f | 20 66 6c 64 20 22 72 65 |t") into| fld "re|
|000060d0| 63 6f 72 64 65 72 42 6f | 6f 6b 4c 69 73 74 22 0d |corderBo|okList".|
|000060e0| 70 75 74 20 66 6c 64 20 | 22 72 65 63 6f 72 64 65 |put fld |"recorde|
|000060f0| 72 42 6f 6f 6b 4c 69 73 | 74 22 20 69 6e 74 6f 20 |rBookLis|t" into |
|00006100| 72 65 63 42 6f 6f 6b 4c | 69 73 74 0d 72 65 70 65 |recBookL|ist.repe|
|00006110| 61 74 20 77 69 74 68 20 | 79 20 3d 20 31 20 74 6f |at with |y = 1 to|
|00006120| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00006130| 6c 69 6e 65 73 20 6f 66 | 20 72 65 63 42 6f 6f 6b |lines of| recBook|
|00006140| 4c 69 73 74 29 0d 70 75 | 74 20 69 74 65 6d 20 31 |List).pu|t item 1|
|00006150| 20 6f 66 20 6c 69 6e 65 | 20 79 20 6f 66 20 72 65 | of line| y of re|
|00006160| 63 42 6f 6f 6b 4c 69 73 | 74 20 69 6e 74 6f 20 63 |cBookLis|t into c|
|00006170| 6f 6d 70 61 72 65 0d 70 | 75 74 20 69 74 65 6d 20 |ompare.p|ut item |
|00006180| 32 20 6f 66 20 6c 69 6e | 65 20 79 20 6f 66 20 72 |2 of lin|e y of r|
|00006190| 65 63 42 6f 6f 6b 4c 69 | 73 74 20 69 6e 74 6f 20 |ecBookLi|st into |
|000061a0| 63 6f 6d 70 61 72 65 32 | 0d 63 6f 6e 76 65 72 74 |compare2|.convert|
|000061b0| 20 63 6f 6d 70 61 72 65 | 20 74 6f 20 73 65 63 73 | compare| to secs|
|000061c0| 0d 63 6f 6e 76 65 72 74 | 20 63 6f 6d 70 61 72 65 |.convert| compare|
|000061d0| 32 20 74 6f 20 73 65 63 | 73 0d 73 75 62 74 72 61 |2 to sec|s.subtra|
|000061e0| 63 74 20 63 6f 6d 70 61 | 72 65 20 66 72 6f 6d 20 |ct compa|re from |
|000061f0| 63 6f 6d 70 61 72 65 32 | 0d 64 69 76 69 64 65 20 |compare2|.divide |
|00006200| 63 6f 6d 70 61 72 65 32 | 20 62 79 20 36 30 0d 70 |compare2| by 60.p|
|00006210| 75 74 20 63 6f 6d 70 61 | 72 65 32 20 26 20 22 2c |ut compa|re2 & ",|
|00006220| 22 20 26 20 69 74 65 6d | 20 33 20 74 6f 20 34 20 |" & item| 3 to 4 |
|00006230| 6f 66 20 6c 69 6e 65 20 | 79 20 6f 66 20 72 65 63 |of line |y of rec|
|00006240| 42 6f 6f 6b 4c 69 73 74 | 20 26 20 72 65 74 75 72 |BookList| & retur|
|00006250| 6e 20 61 66 74 65 72 20 | 74 6f 74 61 6c 54 69 6d |n after |totalTim|
|00006260| 65 48 6f 6c 64 65 72 0d | 65 6e 64 20 72 65 70 65 |eHolder.|end repe|
|00006270| 61 74 0d 69 66 20 74 6f | 74 61 6c 54 69 6d 65 48 |at.if to|talTimeH|
|00006280| 6f 6c 64 65 72 20 69 73 | 20 6e 6f 74 20 22 74 6f |older is| not "to|
|00006290| 74 61 6c 54 69 6d 65 48 | 6f 6c 64 65 72 22 20 74 |talTimeH|older" t|
|000062a0| 68 65 6e 0d 70 75 74 20 | 74 6f 74 61 6c 54 69 6d |hen.put |totalTim|
|000062b0| 65 48 6f 6c 64 65 72 20 | 69 6e 74 6f 20 66 6c 64 |eHolder |into fld|
|000062c0| 20 22 74 6f 74 61 6c 54 | 69 6d 65 22 0d 70 75 74 | "totalT|ime".put|
|000062d0| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|000062e0| 6c 69 6e 65 73 20 6f 66 | 20 74 6f 74 61 6c 54 69 |lines of| totalTi|
|000062f0| 6d 65 48 6f 6c 64 65 72 | 29 20 69 6e 74 6f 20 6c |meHolder|) into l|
|00006300| 69 6e 65 4e 75 6d 62 65 | 72 0d 70 75 74 20 63 6f |ineNumbe|r.put co|
|00006310| 6d 70 61 72 65 45 78 74 | 54 65 73 74 28 74 6f 74 |mpareExt|Test(tot|
|00006320| 61 6c 54 69 6d 65 48 6f | 6c 64 65 72 2c 6c 69 6e |alTimeHo|lder,lin|
|00006330| 65 4e 75 6d 62 65 72 29 | 20 69 6e 74 6f 20 66 6c |eNumber)| into fl|
|00006340| 64 20 22 74 6f 74 61 6c | 43 6f 6d 70 61 72 65 54 |d "total|CompareT|
|00006350| 69 6d 65 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ime".end| if.end |
|00006360| 73 68 6f 72 74 43 61 6c | 63 75 6c 61 74 65 54 69 |shortCal|culateTi|
|00006370| 6d 65 53 68 65 65 74 0d | 0d 0d 6f 6e 20 73 68 6f |meSheet.|..on sho|
|00006380| 72 74 53 61 76 65 0d 67 | 6c 6f 62 61 6c 20 76 65 |rtSave.g|lobal ve|
|00006390| 72 73 69 6f 6e 4e 75 6d | 62 65 72 2c 74 68 69 73 |rsionNum|ber,this|
|000063a0| 53 74 61 63 6b 4e 61 6d | 65 2c 72 65 74 75 72 6e |StackNam|e,return|
|000063b0| 54 6f 4d 65 0d 6c 6f 63 | 6b 20 6d 65 73 73 61 67 |ToMe.loc|k messag|
|000063c0| 65 73 0d 67 6f 20 74 6f | 20 63 64 20 28 22 54 69 |es.go to| cd ("Ti|
|000063d0| 6d 65 20 42 6f 6f 6b 22 | 20 26 26 20 74 68 65 20 |me Book"| && the |
|000063e0| 73 68 6f 72 74 20 64 61 | 74 65 29 0d 70 75 74 20 |short da|te).put |
|000063f0| 74 68 65 20 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |the last| word of|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.